Jami` at-Tirmidhi 3487
Anas bin Malik narrated that:
The Prophet (ﷺ) visited a man who was so emaciated that he had become like a baby bird. He (ﷺ) said to him: “And did you not used to supplicate? Did you not used to ask Your Lord for sound health?” He said: “I used to say: “O Allah, whatever You are going to punish me with in the Hereafter, then hasten it for me in this world.” So the Prophet (ﷺ) said: “Glory is to Allah, you are not capable of that” – or – “you are not able to stand that. Would you not say: ‘O Allah, give us good in this world, and good in the Hereafter, and spare us the punishment of the Fire (Allāhumma ātinā fid-dunyā ḥasanatan wa fil ākhirati ḥasanatan wa qinā `adhāban-nār).’”
حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا سَهْلُ بْنُ يُوسُفَ، حَدَّثَنَا حُمَيْدٌ، عَنْ ثَابِتٍ الْبُنَانِيِّ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ النَّبِيَّ صلى الله عليه وسلم عَادَ رَجُلاً قَدْ جُهِدَ حَتَّى صَارَ مِثْلَ الْفَرْخِ فَقَالَ لَهُ ‏"‏ أَمَا كُنْتَ تَدْعُو أَمَا كُنْتَ تَسْأَلُ رَبَّكَ الْعَافِيَةَ ‏"‏ ‏.‏ قَالَ كُنْتُ أَقُولُ اللَّهُمَّ مَا كُنْتَ مُعَاقِبِي بِهِ فِي الآخِرَةِ فَعَجِّلْهُ لِي فِي الدُّنْيَا ‏.‏ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ سُبْحَانَ اللَّهِ إِنَّكَ لاَ تُطِيقُهُ - أَوْ لاَ تَسْتَطِيعُهُ أَفَلاَ كُنْتَ تَقُولُ اللَّهُمَّ آتِنَا فِي الدُّنْيَا حَسَنَةً وَفِي الآخِرَةِ حَسَنَةً وَقِنَا عَذَابَ النَّارِ ‏"‏ ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ مِنْ هَذَا الْوَجْهِ ‏.‏ وَقَدْ رُوِيَ مِنْ غَيْرِ وَجْهٍ عَنْ أَنَسٍ عَنِ النَّبِيِّ صلى الله عليه وسلم ‏.‏