Language:
كتاب الرقاق
81  
To make the Heart Tender (Ar-Riqaq)
(20)
Chapter: Refraining from doing things Allah has made illegal
(20)
باب الصَّبْرِ عَنْ مَحَارِمِ اللَّهِ
Sahih al-Bukhari 6471

Narrated Al-Mughira bin Shu`ba:

The Prophet (ﷺ) used to pray so much that his feet used to become edematous or swollen, and when he was asked as to why he prays so much, he would say, "Shall I not be a thankful slave (to Allah)?"

حَدَّثَنَا خَلاَّدُ بْنُ يَحْيَى، حَدَّثَنَا مِسْعَرٌ، حَدَّثَنَا زِيَادُ بْنُ عِلاَقَةَ، قَالَ سَمِعْتُ الْمُغِيرَةَ بْنَ شُعْبَةَ، يَقُولُ كَانَ النَّبِيُّ صلى الله عليه وسلم يُصَلِّي حَتَّى تَرِمَ ـ أَوْ تَنْتَفِخَ ـ قَدَمَاهُ فَيُقَالُ لَهُ، فَيَقُولُ ‏ "‏ أَفَلاَ أَكُونُ عَبْدًا شَكُورًا ‏"‏‏.‏
Reference : Sahih al-Bukhari 6471
In-book reference : Book 81, Hadith 60
USC-MSA web (English) reference : Vol. 8, Book 76, Hadith 478
  (deprecated numbering scheme)