(60) باب إِذَا دَخَلَ الْمَسْجِدَ فَلْيَرْكَعْ رَكْعَتَيْنِ
Narrated Abu Qatada Al-Aslami:
Allah's Messenger (ﷺ) said, "If anyone of you enters a mosque, he should pray two rak`at before sitting." (RU)
Reference (RU): Sahih al-Bukhari 444 (RU)
In-book reference (RU): Book 8, Hadith 93 (RU)
USC-MSA web (English) reference(deprecated numbering scheme): Vol. 1, Book 8, Hadith 435 (RU)