Abu Hurairah reported,

One day the Prophet ﷺ was sitting out in the open among the people when Jibreel came to him and asked, "What is faith?"The Prophet ﷺ replied, "Faith is to believe in Allah, His angels, His books, the meeting with Him, and His messengers, and to believe in the resurrection."Jibreel asked, "What is Islam?"He replied, "Islam is to worship Allah and associate nothing with Him, to establish the prayer, to pay the obligatory zakat, and to fast in Ramadan."Jibreel asked, "What is excellence?"He replied, "It is to worship Allah as though you see Him, and if you do not see Him, then know that He sees you."Jibreel asked, "When is the Hour?"He replied, "The one asked about it knows no more than the one asking. But I will tell you of its signs. When a slave woman gives birth to her master, and when the herdsmen of black camels compete in raising tall buildings. It is among five things that none knows except Allah."Then the Prophet ﷺ recited, "Indeed, Allah has knowledge of the Hour" [Luqman 31:34], to the end of the verse.Then the man turned to leave, and the Prophet ﷺ said, "Bring him back to me." But they could see no one. So he said, "That was Jibreel. He came to teach the people their religion."Abu Abdullah said, He counted all of that as part of faith.

Bukhari 50

Sahih

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

عن أبي هريرة قال

كان النبي ﷺ بارزا يوما للناس فأتاه جبريل فقال ما الإيمان قال الإيمان أن تؤمن بالله وملائكته وكتبه وبلقائه ورسله وتؤمن بالبعث قال ما الإسلام قال الإسلام أن تعبد الله ولا تشرك به شيئا وتقيم الصلاة وتؤدي الزكاة المفروضة وتصوم رمضان قال ما الإحسان قال أن تعبد الله كأنك تراه فإن لم تكن تراه فإنه يراك قال متى الساعة قال ما المسئول عنها بأعلم من السائل وسأخبرك عن أشراطها إذا ولدت الأمة ربها وإذا تطاول رعاة الإبل البهم في البنيان في خمس لا يعلمهن إلا الله ثم تلا النبي ﷺ {إن الله عنده علم الساعة} الآية ثم أدبر فقال ردوه فلم يروا شيئا فقال هذا جبريل جاء يعلم الناس دينهم قال أبو عبد الله جعل ذلك كله من الإيمان

البخاري 50صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Faith
Chapter
Jibreel's questions to the Prophet ﷺ about faith, Islam, Ihsan, and knowledge of the Hour
Numbering
Darussalam 50
Bukhari 50