Abu Qatada reported,

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

Tirmidhi 316

Sahih

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

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

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

الترمذي 316صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Prayer
Chapter
When one of you enters the masjid, let him pray two rakahs
Numbering
Darussalam 316
Tirmidhi 316