Abu Hurairah reported,

I heard the Messenger of Allah ﷺ say, "People will surely ask you about everything, until they will say, 'Allah created everything, so who created Allah?'"Yazid said, Najabah bin Sabigh as-Sulami told me that he saw a group of riders come to Abu Hurayrah and ask him about this very matter. He exclaimed, "Allahu akbar! My dear friend never told me of anything except that I have seen it come to pass, and I have been waiting for this."Jafar said, It has reached me that the Prophet ﷺ said, "When people ask you about this, say, 'Allah existed before everything, Allah created everything, and Allah will remain after everything.'"

Ahmad 10957

Sahih

حدثنا كثير حدثنا جعفر حدثنا يزيد بن الأصم

عن أبي هريرة قال

سمعت رسول الله ﷺ يقول ليسألنكم الناس عن كل شيء حتى يقولوا الله خلق كل شيء فمن خلقه قال يزيد فحدثني نجبة بن صبيغ السلمي أنه رأى ركبا أتوا أبا هريرة فسألوه عن ذلك فقال الله أكبر ما حدثني خليلي بشيء إلا وقد رأيته وأنا أنتظره قال جعفر بلغني أن النبي ﷺ قال إذا سألكم الناس عن هذا فقولوا الله كان قبل كل شيء والله خلق كل شيء والله كائن بعد كل شيء

أحمد 10957صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abu Hurairah
Numbering
Darussalam 10957
Ahmad 10957