Abu Qatada reported,

The Prophet ﷺ said, "When one of you enters the mosque, he should not sit down until he has prayed two rakahs."

Bukhari 1163

Sahih

حدثنا المكي بن إبراهيم، عن عبد الله بن سعيد، عن عامر بن عبد الله بن الزبير، عن عمرو بن سليم الزرقي، سمع

أبا قتادة بن ربعي الأنصاري رضى الله عنه قال

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

البخاري 1163صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Tahajjud
Chapter
Consistently performing the two rakahs of Fajr and those who called them voluntary
Numbering
Darussalam 1163
Bukhari 1163