Sahih Muslim | Book 35 | Chapter 7

Narrated by Anas
Anas reported that Allah's Messenger (may peace be upon him) visited a person from amongst the Muslims in order to inquire (about his health) who had grown feeble like the chicken. Allah's Messenger (may peace be upon him) said: Did you supplicate for anything or beg of Him about that? He said: Yes. I used to utter (these words): Impose punishment upon me earlier in this world, what Thou art going to impose upon me in the Hereafter. Thereupon Allah's Messenger (may peace be upon him) said: Hallowed be Allah, you have neither the power nor forbearance to take upon yourself (the burden of His Punishment). Why did you not say this: O Allah, grant us good in the world and good in the Hereafter, and save us from the torment of Fire. He (the Holy Prophet) made this supplication (for him) and he was all right.

Narrated by Humaid
This hadith has been narrated on the authority of Humaid with the same chain of transmitters, but with a slight variation of wording.

Narrated by Anas
Anas reported that Allah's Messenger (may peace be upon him) 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.

Narrated by Anas
This hadith had been transmitted on the authority of Anas through another chain of narrators.