Mishkat al-Masabih 75
عَنْ أَبِي هُرَيْرَةَ قَالَ سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم يَقُول: لَا يَزَالُ النَّاسُ يَتَسَاءَلُونَ حَتَّى يُقَالَ: هَذَا خَلَقَ اللَّهُ الْخَلْقَ فَمَنْ خَلَقَ اللَّهَ؟ فَإِذَا قَالُوا ذَلِك فَقولُوا الله أحد الله الصَّمد لَمْ يَلِدْ وَلَمْ يُولَدْ وَلَمْ يَكُنْ لَهُ كفوا أحد ثمَّ ليتفل عَن يسَاره ثَلَاثًا وليستعذ من الشَّيْطَان . رَوَاهُ أَبُو دَاوُد
From Abu Hurayrah, who said: I heard the Messenger of Allah ﷺ say: "People will keep asking one another until it is said: 'This is Allah who created creation, so who created Allah?' When they say that, say: 'Allah is One; Allah is the Self-Sufficient; He neither begets nor is born, nor is there any equal to Him.' Then let him spit lightly to his left three times and seek refuge from Shaytan." Reported by Abu Dawud.