Book 37: The asking of (angel) Jibrll (Gabriel) from the Prophet (saws) about Iman, Islam, Ihsan and the knowledge of the Hour (Doomsday)
Sahih al-Bukhari
Sahih al-Bukhari 50
Abū Hurairah (r.a) narrated: ‘One day the Prophet (saw) was out in the company of the people when a man came to him and asked: “What is faith?” He [the Prophet (saw)] replied: “Faith is that you should believe in Allāh, His Angels and in meeting with Him, His Messengers, and to believe in the Resurrection.” He then asked: “What is Islām?” He [the Prophet (saw)] replied: “Islām is to worship Allāh and not associate partners with Him, to observe Prayer, pay the obligatory Zakāh and observe fasting in Ramaḍān.” He then asked: “What is iḥsān?” He [the Prophet (saw)] replied: “To worship Allāh as if you see Him, and if you cannot see Him, know that He surely sees you.”
He asked: “When is the Hour?” He [the Prophet (saw)] replied: “The one who is questioned about it possesses no more knowledge than the one who inquired. I will tell you its signs: when the female slave gives birth to her own master, and when the owners of black camels compete in the construction of lofty structures. [The Hour is] among five things which nobody knows except Allāh.” Then the Prophet (saw) recited the verse: “Verily, with Allāh alone is the knowledge of the Hour.” (Sūrat Luqmān, 31:35). Then the man turned back and he [the Prophet (saw)] said: “Call him back.” But they did not see anyone, so he said: “That was Gabriel. He came to teach the people their religion”.’
Abū ʿAbd Allāh [al-Bukhārī] said: ‘He [the Prophet (saw)] considered all that as an integral part of faith.’
Translation: Ahmadiyya Muslim Jamaat