You can do that before or as you enter the masjid.

Kindly refer to the following link(s):

https://www.youtube.com/watch?v=Vx-cg8oHe9g

When should we recite the dua of entering masjid, before putting the foot inside the masjid or before entering the masjid and vice versa?

Prayer |