Sunan Ibn Majah, Book 6, Hadith 1505 (In-Book) ⓘ
It was narrated from Abu Sa’eed Al-Khudri that the Messenger of Allah said: “When you enter upon one who is sick, cheer him up and give him hope of a long life, for that does not change anything (of the Divine Decree), but it will cheer the heart of the one who is sick.”
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا عُقْبَةُ بْنُ خَالِدٍ السَّكُونِيُّ، عَنْ مُوسَى بْنِ مُحَمَّدِ بْنِ إِبْرَاهِيمَ التَّيْمِيِّ، عَنْ أَبِيهِ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " إِذَا دَخَلْتُمْ عَلَى الْمَرِيضِ فَنَفِّسُوا لَهُ فِي الأَجَلِ فَإِنَّ ذَلِكَ لاَ يَرُدُّ شَيْئًا وَهُوَ يَطِيبُ بِنَفْسِ الْمَرِيضِ " .
also referenced under: Hadith 1438 (Reference) & Volume 2, Book 6, Hadith 1438 (DarusSalam)