Abu Qatada reported,

I entered the mosque while the Messenger of Allah ﷺ was sitting among the people, so I sat down.The Messenger of Allah ﷺ asked, "What kept you from praying two units of prayer before you sat?"I replied, "I saw you sitting and the people sitting."He said, "When one of you enters the mosque, he should not sit until he has prayed two units of prayer."

Ahmad 22601

Sahih

حدثنا معاوية بن عمرو حدثنا زائدة حدثنا عمرو بن يحيى الأنصاري حدثنا محمد بن يحيى بن حبان عن عمرو بن سليم بن خلدة الأنصاري

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

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

أحمد 22601صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Qatada Ansari
Numbering
Darussalam 22601
Ahmad 22601