On the authority of Umar ibn Al-Khattab, peace and blessings of Allah be upon him, reported: We were sitting with the Messenger of Allah, peace and blessings be upon him, one day when a man appeared with very white clothes and very black hair. There were no signs of travel on him and we did not recognize him. He sat down in front of the Prophet and rested his knees by his knees and placed his hands on his thighs. The man said, “O Muhammad, tell me about Islam.” The Prophet said:
Islam is to witness that there is no God but Allah and Muhammad is the Messenger of Allah, to establish prayer, to give the alms, the fast the month of Ramadan, and to perform pilgrimage to the House if he is capable of travel.
الْإِسْلَامُ أَنْ تَشْهَدَ أَنْ لَا إِلَهَ إِلَّا اللَّهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَتُقِيمَ الصَّلَاةَ وَتُؤْتِيَ الزَّكَاةَ وَتَصُومَ رَمَضَانَ وَتَحُجَّ الْبَيْتَ إِنْ اسْتَطَعْتَ إِلَيْهِ سَبِيلًا
The man said, “You have spoken truthfully.” We were surprised that he asked him and then said he was truthful. He said, “Tell me about faith.” The Prophet said:
أَنْ تُؤْمِنَ بِاللَّهِ وَمَلَائِكَتِهِ وَكُتُبِهِ وَرُسُلِهِ وَالْيَوْمِ الْآخِرِ وَتُؤْمِنَ بِالْقَدَرِ خَيْرِهِ وَشَرِّهِ
Faith is to believe in Allah, His angels, His books, His messengers, the Last Day, and to believe in providence both its good and its bad.
The man said, “You have spoken truthfully. So tell me about excellence.” The Prophet said:
Excellence is to worship Allah as if you see Him, for you do not see Him but He certainly sees you.
أَنْ تَعْبُدَ اللَّهَ كَأَنَّكَ تَرَاهُ فَإِنْ لَمْ تَكُنْ تَرَاهُ فَإِنَّهُ يَرَاكَ
The man said, “Tell me about the final hour.” The Prophet said:
The one being asked does not know more than who is asking.
مَا الْمَسْئُولُ عَنْهَا بِأَعْلَمَ مِنْ السَّائِلِ
The man said, “Tell me about its signs.” The Prophet said:
The servant girl will give birth to her mistress and you will see barefoot, naked, and destitute shepherds compete in constructing tall buildings.
أَنْ تَلِدَ الْأَمَةُ رَبَّتَهَا وَأَنْ تَرَى الْحُفَاةَ الْعُرَاةَ الْعَالَةَ رِعَاءَ الشَّاءِ يَتَطَاوَلُونَ فِي الْبُنْيَانِ
Then the man left and I remained. The Prophet said to me:
O Umar, do you know who he was?
يَا عُمَرُ أَتَدْرِي مَنْ السَّائِلُ
I said, “Allah and His messenger know best.” The Prophet said:
Verily, he was Gabriel who came to teach you your religion.
فَإِنَّهُ جِبْرِيلُ أَتَاكُمْ يُعَلِّمُكُمْ دِينَكُمْ
Authenticity: Sahih Muslim 4, Grade: Sahih