كتاب الذكر والدعاء والتوبة والاستغفار
48  
The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness
(7)
Chapter: It Is Disliked To Pray For Punishment To Be Brought Forward In This World
(7)
باب كَرَاهَةِ الدُّعَاءِ بِتَعْجِيلِ الْعُقُوبَةِ فِي الدُّنْيَا
Sahih Muslim 2688 c

Anas reported that Allah's Messenger (ﷺ) visited a person from amongst his Companions who had grown as feeble as the chicken. The rest of the hadith is the same, but with this variation that he (the Holy Prophet) said:

You have not power enough to undergo the torment imposed by Allah. And there is no mention of: He supplicated Allah for him and He cured him.
وَحَدَّثَنِي زُهَيْرُ بْنُ حَرْبٍ، حَدَّثَنَا عَفَّانُ، حَدَّثَنَا حَمَّادٌ، أَخْبَرَنَا ثَابِتٌ، عَنْ أَنَسٍ، أَنَّعليه وسلم دَخَلَ عَلَى رَجُلٍ مِنْ أَصْحَابِهِ يَعُودُهُ وَقَدْ صَارَ كَالْفَرْخِ ‏.‏ بِمَعْنَى حَدِيثِ حُمَيْدٍ غَيْرَ أَنَّهُ قَالَ ‏ "‏ لاَ طَاقَةَ لَكَ بِعَذَابِ اللَّهِ ‏"‏ ‏.‏ وَلَمْ يَذْكُرْ فَدَعَا اللَّهَ لَهُ فَشَفَاهُ ‏.‏
Reference : Sahih Muslim 2688c
In-book reference : Book 48, Hadith 33
USC-MSA web (English) reference : Book 35, Hadith 6503
  (deprecated numbering scheme)