Abu Qatada reported,

The Messenger of Allah ﷺ said, "When one of you enters the mosque, let him pray two units of prayer before sitting down."

Bukhari 444

Sahih

حدثنا عبد الله بن يوسف قال أخبرنا مالك عن عامر بن عبد الله بن الزبير عن عمرو بن سليم الزرقي

عن أبي قتادة السلمي

أن رسول الله ﷺ قال إذا دخل أحدكم المسجد فليركع ركعتين قبل أن يجلس

البخاري 444صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Prayer
Chapter
If one enters the masjid, let him pray two rakahs
Numbering
Darussalam 444
Bukhari 444