Narrated Anas reported God’s messenger as saying, “Men will continue to question one another till they propound this:
‘God created everything, but who created God?’ ”
Bukhari transmitted it. Muslim’s version is: He declared that God said, “Your people will continue to ask, ‘What is this?’ and ‘what is that?’ till they propound this: God created all things, but who created God?”
‘Uthman b. Abul-'As said he told God’s messenger that the devil interfered with his prayer and his recitation of the Qur’an, causing confusion in his mind, and God’s messenger replied, “That is a devil called Khinzab; so when you feel his presence seek refuge from him in God and spit three times on your left side.” ‘Uthman did so and God caused him to depart from him.
Narrated Abu Huraira reported God’s messenger as saying, "Men will continue to question one another till this is propounded:
God created all things, but who created God? When they propound that, say, ‘God is one. God is He to whom men repair. He has not begotten and He has not been begotten, and no one is equal to Him.” 1 Then one should spit three times on his left side and seek refuge in God from the accursed devil.”
Abu Dawud transmitted it. We shall mention the tradition of ‘Amr b. al-Ahwas in the chapter on the sermon on the day of sacrifice, if God will.
Al-Qasim b. Muhammad said that a man told him he was greatly distressed by wandering thoughts while he was engaged in prayer. He told him to persevere with his prayer, explaining that he would not be free from that till he said when he finished his prayer, “I have not performed my prayer perfectly.”