Words to Say When Entering and Leaving a Masjid
Al-Kāfi|Volume 3|Book 4|Chapter 19
2ـ عَلِيٌّ عَنْ أَبِيهِ عَنْ عَبْدِ الله بْنِ الْمُغِيرَةِ عَنْ عَبْدِ الله بْنِ سِنَانٍ عَنْ أَبِي عَبْدِ الله (عَلَيْهِ الْسَّلام) قَالَ إِذَا دَخَلْتَ الْمَسْجِدَ فَصَلِّ عَلَى النَّبِيِّ (صلّى اللهُ عَلَيْهِ وَآلِه) وَإِذَا خَرَجْتَ فَافْعَلْ ذَلِكَ.
2. Ali has narrated from his father from ’Abd Allah ibn al-Mughirah from ’Abd Allah ibn Sinan who has said the following: “Abu ‘Abd Allah عليه السلام, has said that when entering and leaving a Masjid say, ‘Allahumma Salli ‘Ala Muhammad wa ‘Ali Muhammad (O Allah grant Muhammad and his family a compensation worthy of their serving Your cause).”’
- Mirʾāt al-ʿUqūl fī Sharḥ Akhbār Āl al-Rasūl (5/96)
- Ṣaḥīḥ al-Kāfī, vol. 1, p. 270