Sunan Ibn Majah, Volume 2, Book 5, Hadith 1420 (DarusSalam) ⓘ
It was narrated that Abu Hurairah said: “The Messenger of Allah used to pray until his feet became swollen. It was said: ‘O Messenger of Allah, Allah has forgiven you your past and future sins.’ He said: ‘Should I not be a thankful slave?’”
حَدَّثَنَا أَبُو هِشَامٍ الرِّفَاعِيُّ، مُحَمَّدُ بْنُ يَزِيدَ حَدَّثَنَا يَحْيَى بْنُ يَمَانٍ، حَدَّثَنَا الأَعْمَشُ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ كَانَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ يُصَلِّي حَتَّى تَوَرَّمَتْ قَدَمَاهُ فَقِيلَ لَهُ إِنَّ اللَّهَ قَدْ غَفَرَ لَكَ مَا تَقَدَّمَ مِنْ ذَنْبِكَ وَمَا تَأَخَّرَ . قَالَ " أَفَلاَ أَكُونُ عَبْدًا شَكُورًا " .
also referenced under: Hadith 1420 (Reference) & Book 5, Hadith 1485 (In-Book)