Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) narrates: Whenever the Prophet Muhammad (peace and blessings be upon him) visited a sick person, he would sit at his bedside and recite this seven times: "I ask Allah the Magnificent, Lord of the Magnificent Throne, to grant you healing." If the person's final moment was delayed, he would be granted well-being from that illness.
Hadith Referenceصحیح ابن حبان / كتاب الجنائز وما يتعلق بها مقدما أو مؤخرا / 2975
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح - «صحيح أبي داود» (2719).فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط الصحيح