Narrated Abu Hurairah: Allah’s Messenger, peace be upon him, said, “Satan comes to one of you and says, ‘Who created so-and-so, who created so-and-so?’ till he says, ‘Who created your Lord?’ So, when he inspires such a question, one should seek refuge with Allah and give up such thoughts.”
[4: 496- O.B. Sahih Al-Bukhari)