Mughira reported,

The Prophet ﷺ would stand in prayer until his feet or his legs became swollen. When he was asked about it, he would reply, "Should I not be a grateful servant?"

Bukhari 1130

Sahih

حدثنا أبو نعيم قال حدثنا مسعر عن زياد قال سمعت

المغيرة رضي الله عنه يقول

إن كان النبي ﷺ ليقوم ليصلي حتى ترم قدماه أو ساقاه فيقال له فيقول أفلا أكون عبدا شكورا

البخاري 1130صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tahajjud
Chapter
Standing of the Prophet ﷺ until his feet swelled
Numbering
Darussalam 1130
Bukhari 1130