Sahih al-Bukhari 5656
Mu'alla bin Asad told us that Abdul Aziz bin Mukhtar narrated to us that Khalid (Hadhdha') narrated to us. Khalid narrated from Ikrimah, Ikrimah from Hazrat Ibn Abbas (ra), that the Prophet (saw) went to visit a Bedouin. He says that it was the habit of the Prophet (saw) that when he went to a sick person to visit him, he (saw) would say to him: “There is nothing to worry about; if Allah wills (In sha' Allah), this illness will be a means of (his) purification.” That rustic said: You said it will be a means of purification? Not at all! This is a fever that is boiling fiercely, or (he said) is attacking a very old man violently, and it will not leave him until it has shown him the graves. The Prophet (saw) said: “Very well, then let it be so.”
AI-translated by Islam-Today