When he has prayed and wants to visit the grave of the Prophet (peace and blessings of Allaah be upon him), he should stand in a dignified manner and say,
“Assalaamu ‘alayka ayyuha’l-Nabiyyu wa rahmat-Allaahi wa barakaatuhu. Allaahumma salli ‘ala Muhammad wa ‘ala aali Muhammad kama salayta ‘ala Ibraaheem wa ‘ala aali Ibraaheem, innaka hameedun majeed; Allaahumma baarik ‘ala Muhammad wa ‘ala aali Muhammad kama baarakta ‘ala Ibraaheem wa ‘ala aali Ibraaheem, innaka hameedun majeed. Ashhadu annaka Rasool-Allaah haqqan wa annaka qad balaghta al-risaalah wa adayta al-amaanah wa nasahta al-ummah wa jaahadta fillaahi haqqa jihaadihi. Fa jazaka Allaahu ‘an ummatika afdal ma jaza nabiyyan ‘an ummatihi.”
(Peace be upon you, O Prophet, and the mercy of Allaah, and His blessings. O Allaah, send prayers upon Muhammad and upon the family of Muhammad, as You sent prayers upon Ibraaheem and the family of Ibraaheem, verily You are Worthy of Praise, Full of Glory. O Allaah, send blessings upon Muhammad and upon the family of Muhammad, as You sent blessings upon Ibraaheem and the family of Ibraaheem, verily You are Worthy of Praise, Full of Glory. I bear witness that you are indeed the Messenger of Allaah, that you conveyed the message and fulfilled the trust, and advised the ummah and strove truly for the sake of Allaah. May Allaah reward you on behalf of your ummah better than any Prophet is rewarded on behalf of his nation).”
Then he should move a little to his right and send salaam upon Abu Bakr al-Siddeeq and pray that Allah be pleased with him.
Then he should move a little further to his right and send salaam upon ‘Umar ibn al-Khattab and pray that Allah be pleased with him. Making du’aa’ for Abu Bakr and ‘Umar (may Allah be pleased with them) in an appropriate manner, is good.
It is not permissible for anyone to seek to draw closer to Allah by touching the hujrah of the Prophet (peace and blessings of Allah be upon him) or by circumambulating it, or by facing it whilst making du’aa’. Rather he should turn to face the qiblah, because drawing closer to Allaah can only be done by means of that which Allah and His Messenger have prescribed. Acts of worship are based on following not on innovation.