Mughira bin Shuba reported,

The Messenger of Allah ﷺ used to stand in prayer until his feet, or his legs, would swell. When he was asked about it, he would reply, "Should I not be a grateful servant?"

Azami 2661

Sahih

عن المغيرة بن شعبة قال

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

الأعظمي 2661صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Minor actions do not invalidate the prayer
Section
Striving of the Prophet ﷺ in night prayer to raise ﷺ in ranks and elevate in status
Numbering
Jami al-Kamil 2661 (2nd edition)
Azami 2661