Abu al-Khattab Ziyad ibn Yahya al-Hassani narrated to us, Muhammad ibn Abi Adi narrated to us, from Humayd, from Thabit, from Anas, that the Messenger of Allah, peace and blessings be upon him, visited a man from among the Muslims who had become weak until he was like a chick. The Messenger of Allah, peace and blessings be upon him, said to him: "Did you used to supplicate for something or ask Him for anything?" He said: Yes, I used to say: O Allah, whatever You were going to punish me with in the Hereafter, hasten it for me in this world. The Messenger of Allah, peace and blessings be upon him, said: "Glory be to Allah! You cannot bear it, or you are not able to do so. Why did you not say: O Allah, grant us good in this world and good in the Hereafter, and protect us from the punishment of the Fire?" He said: So he supplicated to Allah for him, and He cured him.
Hadith Referenceصحيح مسلم / كتاب الذكر والدعاء والتوبة والاستغفار / 2688
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.
Hadith Referenceصحيح مسلم / كتاب الذكر والدعاء والتوبة والاستغفار / 2688