Mughira reported,

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

Bukhari 4836

Sahih

حدثنا صدقة بن الفضل أخبرنا ابن عيينة حدثنا زياد هو ابن علاقة أنه سمع

المغيرة يقول

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

البخاري 4836صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tafsir
Chapter
That Allah may forgive you your sins of the past and future, and complete His favor upon you, and guide you to a straight path
Numbering
Darussalam 4836
Bukhari 4836