He asked, ‘Who, then, created the sky?’ He replied, ‘Allah.’ He asked, ‘Who created the earth?’ He replied, ‘Allah.’ He asked, ‘Who set up these mountains and placed in them all that they contain?’ He replied, ‘Allah.’ He asked, ‘Then, by the One who created the sky, created the earth, and set up the mountains, did Allah send you?’ He replied, ‘Yes.’
He said, ‘Your messenger stated that we are required to offer five prayers each day and night.’ He replied, ‘He spoke the truth.’ He asked, ‘Then, by the One who sent you, did Allah command you to do this?’ He replied, ‘Yes.’ He said, ‘Your messenger stated that we are required to pay zakah on our wealth.’ He replied, ‘He spoke the truth.’ He asked, ‘Then, by the One who sent you, did Allah command you to do this?’ He replied, ‘Yes.’
He said, ‘Your messenger stated that those of us who are able must make the pilgrimage to the House.’ He replied, ‘He spoke the truth.’ The man then turned to leave, saying, ‘By the One who sent you with the truth, I shall neither add to these nor subtract from them.’ The Messenger of Allah, may Allah bless him and grant him peace, said, ‘If he is truthful, he will surely enter Paradise.’”
Anas also related:
“While we were sitting with the Prophet, may Allah bless him and grant him peace, in the mosque, a man entered on a camel. He made it kneel in the mosque and then tethered it. He asked them, ‘Which of you is Muhammad?’ The Prophet, may Allah bless him and grant him peace, was reclining among them. We said, ‘This fair-skinned man who is reclining.’
The man addressed him, ‘Son of Abd al-Muttalib?’ The Prophet, may Allah bless him and grant him peace, replied, ‘I am listening.’ The man said to the Prophet, may Allah bless him and grant him peace, ‘I am going to question you, and I shall press you hard in my questioning, so do not take offence.’ He replied, ‘Ask whatever you wish.’
He said, ‘I ask you by your Lord and the Lord of those before you: did Allah send you to all mankind?’ He replied, ‘Yes, by Allah.’”
He mentioned that the man asked him about prayer and zakah, but did not mention fasting or pilgrimage. The man then said, “I believe in what you have brought, and I am the messenger of those of my people whom I have left behind. I am Dimām