Ash-Shama'il Al-Muhammadiyah, Book 39, Hadith 250 (English)

It is also narrated from Abu Hurayrah Radiyallahu 'Anhu that Rasulullah Sallallhu 'Alayhi Wasallam performed such a long salaah that his mubaarak legs became swollen. He was asked: "You perform such long prayers, whereas all your past and future sins have been forgiven?. "Rasulullah Sallallhu 'Alayhi Wasallam replied: "Should I not be an appreciative servant?"

حَدَّثَنَا عِيسَى بْنُ عُثْمَانَ بْنِ عِيسَى بْنِ عَبْدِ الرَّحْمَنِ الرَّمْلِيُّ، قَالَ‏:‏ حَدَّثَنَا عَمِّي يَحْيَى بْنُ عِيسَى الرَّمْلِيُّ، عَنِ الأَعْمَشِ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، قَالَ‏:‏ كَانَ رَسُولُ اللهِ صلى الله عليه وسلم يَقُومُ يُصَلِّي حَتَّى تَنْتَفِخَ قَدَمَاهُ فَيُقَالُ لَهُ‏:‏ يَا رَسُولَ اللهِ، تَفْعَلُ هَذَا وَقَدْ غَفَرَ اللَّهُ لَكَ مَا تَقَدَّمَ مِنْ ذَنْبِكَ وَمَا تَأَخَّرَ‏؟‏، قَالَ‏:‏ أَفَلا أَكُونُ عَبْدًا شَكُورًا‏.‏

also referenced under: Book 40, Hadith 263 (In-Book)