Mughira reported,

The Messenger of Allah ﷺ would stand in prayer until his feet became swollen. It was said to him, "Messenger of Allah, has not Allah forgiven you your past and future sins?"He replied, "Should I not, then, be a grateful servant?"

Ibn Majah 1419

Sahih

حدثنا هشام بن عمار حدثنا سفيان بن عيينة عن زياد بن علاقة سمع

المغيرة يقول

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

ابن ماجه 1419صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
Length of standing in prayer
Numbering
Darussalam 1419
Ibn Majah 1419