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.
bukhari:7296al-Ḥasan b. Ṣabbāḥ > Shabābah > And Rqāʾ > ʿAbdullāh b. ʿAbd al-Raḥman > Anas b. Mālik

Messenger of Allah ﷺ said, "People will not stop asking questions till they say, 'This is Allah, the Creator of everything, then who created Allah?' "  

البخاري:٧٢٩٦حَدَّثَنَا الْحَسَنُ بْنُ صَبَّاحٍ حَدَّثَنَا شَبَابَةُ حَدَّثَنَا وَرْقَاءُ عَنْ عَبْدِ اللَّهِ بْنِ عَبْدِ الرَّحْمَنِ سَمِعْتُ أَنَسَ بْنَ مَالِكٍ يَقُولُ

قَالَ رَسُولُ اللَّهِ ﷺ لَنْ يَبْرَحَ النَّاسُ يَتَسَاءَلُونَ حَتَّى يَقُولُوا هَذَا اللَّهُ خَالِقُ كُلِّ شَىْءٍ فَمَنْ خَلَقَ اللَّهَ  


See similar narrations below:

Collected by Muslim, Aḥmad, Suyūṭī
muslim:135dMuḥammad b. Ḥātim > Kathīr b. Hishām > Jaʿfar b. Burqān > Yazīd b. al-Aṣam > Abū Hurayrah

I heard Abu Huraira saying that the Messenger of Allah ﷺ observed: people will certainly ask you about everything till they will propound: Allah created every thing, but who created Allah?  

مسلم:١٣٥dحَدَّثَنِي مُحَمَّدُ بْنُ حَاتِمٍ حَدَّثَنَا كَثِيرُ بْنُ هِشَامٍ حَدَّثَنَا جَعْفَرُ بْنُ بُرْقَانَ حَدَّثَنَا يَزِيدُ بْنُ الأَصَمِّ قَالَ سَمِعْتُ أَبَا هُرَيْرَةَ يَقُولُ

قَالَ رَسُولُ اللَّهِ ﷺ لَيَسْأَلَنَّكُمُ النَّاسُ عَنْ كُلِّ شَىْءٍ حَتَّى يَقُولُوا اللَّهُ خَلَقَ كُلَّ شَىْءٍ فَمَنْ خَلَقَهُ  

ahmad:11995Muḥammad b. Fuḍayl > al-Mukhtār b. Fulful > Anas

[Machine] The Messenger of Allah ﷺ said, "Indeed, Allah said to me that my nation will continue to question each other until they say, 'This is Allah who created the people, so who created Allah?'"  

أحمد:١١٩٩٥حَدَّثَنَا مُحَمَّدُ بْنُ فُضَيْلٍ عَنْ الْمُخْتَارِ بْنِ فُلْفُلٍ عَنْ أَنَسٍ قَالَ

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