Sahih Muslim 134 c
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
يَأْتِي الشَّيْطَانُ أَحَدَكُمْ فَيَقُولُ مَنْ خَلَقَ كَذَا وَكَذَا حَتَّى يَقُولَ لَهُ مَنْ خَلَقَ رَبَّكَ فَإِذَا بَلَغَ ذَلِكَ فَلْيَسْتَعِذْ بِاللَّهِ وَلْيَنْتَهِ "
It is narrated on the authority of Abu Huraira that the Messenger of Allah ﷺ) observed:
The Satan comes to everyone. of you and says: Who created this and that? till he questions: Who created your Lord? When he comes to that, one should seek refuge in Allah and keep away (from such idle thoughts).
Full reference and source
Sahih Muslim 134 c In-book : Book 1, Hadith 252 USC-MSA web (English) : Book 1, Hadith 244 (deprecated)
View source on Sunnah.com (opens in a new tab)