Mishkat al-Masabih 1553
وَعَنِ ابْنِ عَبَّاسٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: مَا مِنْ مُسْلِمٍ يَعُودُ مُسْلِمًا فَيَقُولُ سَبْعَ مَرَّاتٍ: أَسْأَلُ اللَّهَ الْعَظِيمَ رَبَّ الْعَرْشِ الْعَظِيمِ أَنْ يَشْفِيَكَ إِلَّا شُفِيَ إِلَّا أَنْ يَكُونَ قَدْ حَضَرَ أَجَلُهُ . رَوَاهُ أَبُو دَاوُد وَالتِّرْمِذِيّ
From Ibn ʿAbbas, who said: The Messenger of Allah ﷺ said: "There is no Muslim who visits a Muslim and says seven times: 'I ask Allah the Mighty, Lord of the Mighty Throne, to heal you,' except that he is healed, unless his appointed time has come." Reported by Abu Dawud and at-Tirmidhi.