Hadithcore
Sahih Muslim, 135 d
sahih

Yazid b. al-Asamm said:

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?

حَدَّثَنِي مُحَمَّدُ بْنُ حَاتِمٍ، حَدَّثَنَا كَثِيرُ بْنُ هِشَامٍ، حَدَّثَنَا جَعْفَرُ بْنُ بُرْقَانَ، حَدَّثَنَا يَزِيدُ بْنُ الأَصَمِّ، قَالَ سَمِعْتُ أَبَا هُرَيْرَةَ، يَقُولُ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏

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

‏ ‏.‏

References2 variants
In-Book Reference
Book 1, Hadith 257
USC-MSA web (English) reference
Book 1, Hadith 249 (deprecated numbering scheme)
Related hadiths3
Compare isnād across 3 related chains →