Two Rakats Namaz for honoring the Masjid is to be recited in the following way:
In every rakat after Surah Hamd recite Surah Qulhuwallaho Ahad seven times. In the Ruku recite the Zikr-e-Ruku (SUBHAANA RABBEYAL A'ZEEME WA BE HAMDEHI) seven times, in the Sajdah recite Zikr-e-Sajdah (SUBHAANA RABBEYAL A'ALAA WA BE HAMDEHI) seven times.
Then there is a two-Rakat Namaz-e-Imam-e-Zamana (a.s.). It is recited in the following manner.
While reciting Surah Hamd when you reach "IYYAAKA NA'BODO WA IYYAAKA NASTA-E'EN", repeat this phrase 100 times then proceed with the rest of the Surah. Then recite Qulhuwallaho Ahad once. Recite the Zikr-e-Ruku and Zikr-e-Sajdah seven times in ruku and Sajdahs. Complete the second rakat in the same manner. Conclude the Namaz. Recite the Tasbih of Janab-e-Fatima Zahra (s.a.). Then recite the salawat 100 times in Sajdah. After this it is advised to recite the following Dua: