Sahih al-Bukhari 5662
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنَا إِسْحَاقُ، حَدَّثَنَا خَالِدُ بْنُ عَبْدِ اللَّهِ، عَنْ خَالِدٍ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ ـ رضى الله عنهما ـ أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم دَخَلَ عَلَى رَجُلٍ يَعُودُهُ فَقَالَ لاَ بَأْسَ طَهُورٌ إِنْ شَاءَ اللَّهُ ". فَقَالَ كَلاَّ بَلْ حُمَّى تَفُورُ عَلَى شَيْخٍ كَبِيرٍ كَيْمَا تُزِيرَهُ الْقُبُورَ. قَالَ النَّبِيُّ صلى الله عليه وسلم " فَنَعَمْ إِذًا "."
Narrated Ibn `Abbas:
Allah's Messenger (ﷺ) entered upon sick man to pay him a visit, and said to him, "Don't worry, Allah willing, (your sickness will be) an expiation for your sins." The man said, "No, it is but a fever that is boiling within an old man and will send him to his grave." On that, the Prophet (ﷺ) said, "Then yes, it is so."
Full reference and source
Sahih al-Bukhari 5662 In-book : Book 75, Hadith 23 USC-MSA web (English) : Vol. 7, Book 70, Hadith 566 (deprecated)
View source on Sunnah.com (opens in a new tab)