HOW TO SEE THE PROPHET (ﷺ) IN ONE’S DREAMS:
Sayyiduna Shaykh Salih al-Ja’fari was asked is there a specific supplication to see the Prophet (ﷺ) in your dreams.
He answered:
There is in the Ahmadiyya spiritual path a supplication to obtain this bounty and it is:
اللَّهُمَّ إِنِّي أَسْأَلُكَ بِنُورِ الأَنْوَارِ الَّذِي هُوَ عَيْنُكَ لا غَيْرُكَ أَنْ تُرِينِي وَجْهَ نَبِيِّكَ سَيِّدِنَا مُحَمَّدٍ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ كَمَا هُوَ عِنْدَكَ…آمِينْ (١٠٠ مرة)
This is said 100 time before sleep.
However, our shaykhs, May Allah be pleased with them, have taught us that it is not from proper manners to seek the vision of him (ﷺ) without effort, rather, it is incumbent that we first bring effort in implementing the upright shariah, and increase in our prayers and salutations upon him (ﷺ) with an increase in longing for him (ﷺ). Thus when he (ﷺ) sees from you the capacity for his vision, he (ﷺ) will come to you without calling or supplication.
From the Friday Lessons vol 2