Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad:8207

[Machine] And the Messenger of Allah ﷺ said, "You will continue to seek consultation until one of you says, 'This is Allah who created the creation, so who created Allah?'"  

أحمد:٨٢٠٧

وَقَالَ رَسُولُ اللهِ ﷺ لَا تَزَالُونَ تَسْتَفْتُونَ حَتَّى يَقُولَ أَحَدُكُمْ هَذَا اللهُ خَلَقَ الْخَلْقَ فَمَنْ خَلَقَ اللهَ ﷻ  


See similar narrations below:

Collected by Muslim, Ibn Ḥibbān
muslim:136aʿAbdullāh b. ʿĀmir b. Zurārah al-Ḥaḍramī > Muḥammad b. Fuḍayl > Mukhtār b. Fulful > Anas b. Mālik

Verily your people would constantly question about this and that till they would say: Well, it is Allah Who created the creation, but who created Allah?  

مسلم:١٣٦aحَدَّثَنَا عَبْدُ اللَّهِ بْنُ عَامِرِ بْنِ زُرَارَةَ الْحَضْرَمِيُّ حَدَّثَنَا مُحَمَّدُ بْنُ فُضَيْلٍ عَنْ مُخْتَارِ بْنِ فُلْفُلٍ عَنْ أَنَسِ بْنِ مَالِكٍ

عَنْ رَسُولِ اللَّهِ ﷺ قَالَ قَالَ اللَّهُ ﷻ إِنَّ أُمَّتَكَ لاَ يَزَالُونَ يَقُولُونَ مَا كَذَا مَا كَذَا حَتَّى يَقُولُوا هَذَا اللَّهُ خَلَقَ الْخَلْقَ فَمَنْ خَلَقَ اللَّهَ  

ذِكْرُ الْإِخْبَارِ عَنْ خَوْضِ النَّاسِ فِي الْأُغْلُوطَاتِ مِنَ الْمَسَائِلِ الَّتِي أُغْضِيَ لَهُمْ عَنْهَا

ibnhibban:6722Ibn Qutaybah > Ibn Abū al-Sarī > ʿAbd al-Razzāq > Maʿmar > Hammām b. Munabbih > Abū Hurayrah

[Machine] The Messenger of Allah ﷺ said, "They will continue to seek guidance through consultation until one of them will say, 'This Allah created everything, so who created Allah?'"  

ابن حبّان:٦٧٢٢أَخْبَرَنَا ابْنُ قُتَيْبَةَ قَالَ حَدَّثَنَا ابْنُ أَبِي السَّرِيِّ قَالَ حَدَّثَنَا عَبْدُ الرَّزَّاقِ قَالَ أَخْبَرَنَا مَعْمَرٌ عَنْ هَمَّامِ بْنِ مُنَبِّهٍ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ «لَا يَزَالُونَ يُسْتَفْتُونَ حَتَّى يَقُولَ أَحَدُهُمْ هَذَا اللَّهُ خَلَقَ الْخَلْقَ فَمَنْ خَلَقَ اللَّهَ؟! »