It was narrated from ‘Uthman bin Hunaif that a blind man came to the Prophet (ﷺ) and said:
“Pray to Allah to heal me.” He said: “If you wish to store your reward for the Hereafter, that is better, or if you wish, I will supplicate for you.” He said: “Supplicate.” So he told him to perform ablution and do it well, and to pray two Rak’ah, and to say this supplication: “Allahumma inni as’aluka wa atawajjahu ilaika bimuhammadin nabiyyir-rahmah. Ya Muhammadu inni qad tawajjahtu bika ila rabbi fi hajati hadhihi lituqda. Allahumma fashaffi’hu fiya (O Allah, I ask of You and I turn my face towards You by virtue of the intercession of Muhammad the Prophet of mercy. O Muhammad, I have turned to my Lord by virtue of your intercession concerning this need of mine so that it may be met. O Allah, accept his intercession concerning me)”.
حَدَّثَنَا أَحْمَدُ بْنُ مَنْصُورِ بْنِ سَيَّارٍ، حَدَّثَنَا عُثْمَانُ بْنُ عُمَرَ، حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي جَعْفَرٍ الْمَدَنِيِّ، عَنْ عُمَارَةَ بْنِ خُزَيْمَةَ بْنِ ثَابِتٍ، عَنْ عُثْمَانَ بْنِ حُنَيْفٍ، أَنَّ رَجُلاً، ضَرِيرَ الْبَصَرِ أَتَى النَّبِيَّ ـ صلى الله عليه وسلم ـ فَقَالَ ادْعُ اللَّهَ لِي أَنْ يُعَافِيَنِي ‏.‏ فَقَالَ ‏"‏ إِنْ شِئْتَ أَخَّرْتُ لَكَ وَهُوَ خَيْرٌ وَإِنْ شِئْتَ دَعَوْتُ ‏"‏ ‏.‏ فَقَالَ ادْعُهْ ‏.‏ فَأَمَرَهُ أَنْ يَتَوَضَّأَ فَيُحْسِنَ وُضُوءَهُ وَيُصَلِّيَ رَكْعَتَيْنِ وَيَدْعُوَ بِهَذَا الدُّعَاءِ ‏"‏ اللَّهُمَّ إِنِّي أَسْأَلُكَ وَأَتَوَجَّهُ إِلَيْكَ بِمُحَمَّدٍ نَبِيِّ الرَّحْمَةِ يَا مُحَمَّدُ إِنِّي قَدْ تَوَجَّهْتُ بِكَ إِلَى رَبِّي فِي حَاجَتِي هَذِهِ لِتُقْضَى اللَّهُمَّ فَشَفِّعْهُ فِيَّ ‏"‏ ‏.‏
GradeSahih (Darussalam)
English reference : Vol. 1, Book 5, Hadith 1385
Arabic reference : Book 5, Hadith 1448