Duas for at the masjid. Walking in, waiting, walking out
The Prophet ﷺ taught a du'a for stepping into the masjid and another for stepping out: mercy on the way in, bounty on the way out. The minutes between the adhan and the iqamah are a time when du'a is not turned away.
6 sourced Du'as Arabic, transliteration, meaning, and source
The Prophet ﷺ said that when one of you enters the masjid, let him say this (Sahih Muslim 713). In Abu Dawud's narration (465) he first sends salam upon the Prophet ﷺ.
Allahumma-j'al fi qalbi nura, wa fi lisani nura, wa fi sam'i nura, wa fi basari nura, wa min fawqi nura, wa min tahti nura, wa 'an yamini nura, wa 'an shimali nura, wa min amami nura, wa min khalfi nura, waj'al fi nafsi nura, wa a'dhim li nura, wa 'adhdhim li nura, waj'al li nura, waj'alni nura. Allahumma a'tini nura, waj'al fi 'asabi nura, wa fi lahmi nura, wa fi dami nura, wa fi sha'ri nura, wa fi bashari nura
“O Allah, place light in my heart, light on my tongue, light in my hearing and light in my sight; light above me and light below me, light on my right and light on my left, light in front of me and light behind me. Place light in my soul, make light great for me, magnify light for me, grant me light and make me light. O Allah, give me light, and place light in my sinews, light in my flesh, light in my blood, light in my hair and light in my skin.”
Sahih al-Bukhari 6316, Sahih Muslim 763
The Prophet ﷺ was heard saying this as he went out to the prayer.
A'udhu billahil-'adheem, wa biwajhihil-karim, wa sultanihil-qadim, minash-shaytanir-rajim. Bismillah, was-salatu was-salamu 'ala rasulillah. Allahumma-ftah li abwaba rahmatik
“I seek refuge in Allah the Magnificent, in His noble Face and His eternal authority, from the accursed devil. In the name of Allah, and blessings and peace be upon the Messenger of Allah. O Allah, open for me the gates of Your mercy.”
Sunan Abi Dawud 466 (sahih), Sunan Ibn Majah 771 (sahih), Sahih Muslim 713
The Prophet ﷺ said that when one seeks refuge with these words, the devil says: he is protected from me for the rest of the day.
Bismillahi was-salatu was-salamu 'ala rasulillah. Allahumma inni as'aluka min fadlik. Allahumma-'simni minash-shaytanir-rajim
“In the name of Allah, and blessings and peace be upon the Messenger of Allah. O Allah, I ask You of Your bounty. O Allah, protect me from the accursed devil.”
Sahih Muslim 713, Sunan Ibn Majah 771 (sahih), Sunan Ibn Majah 773 (sahih)