Allah's Messenger (ﷺ) said, "If anyone of you enters a mosque, he should pray two rak`at…

Sahih al-Bukhari Book 8 Hadith 93

Sahih al-Bukhari #444

Prayers (Salat) 8:93

Narrated Abu Qatada Al-Aslami:

Allah's Messenger (ﷺ) said, "If anyone of you enters a mosque, he should pray two rak`at before sitting."

Chapter: If one entered a mosque, one should offer two Rak'a (Tahayyat-al-Masjid) before sitting

Grade: Sahih