Imran bin Husayn reported,

Imran reported, "I was with the Prophet ﷺ when a group from the tribe of Banu Tamim came to him.He said, "Accept the good news, Banu Tamim."They replied, "You have given us good news, so now give us something."Then some people from Yemen came in, and he said, "Accept the good news, people of Yemen, since Banu Tamim have not accepted it."They replied, "We accept it. We have come to you to gain understanding of the religion and to ask you about the beginning of this matter. What was it?"He said, "Allah existed and nothing existed before Him. His Throne was upon the water. Then He created the heavens and the earth and wrote in the Record everything that would be."Then a man came to me and said, "Imran, catch up with your camel, for it has wandered off."So I set out to look for it, and the mirage was cutting it off from my view. By Allah, I wish it had gone for good and that I had not gotten up.

Azami 8191

Sahih

عن عمران بن حصين قال

إني عند النبي ﷺ إذ جاءه قوم من بني تميم فقال: اقبلوا البشرى يا بني تميم قالوا: بشرتنا فأعطنا، فدخل ناس من أهل اليمن فقال: اقبلوا البشرى يا أهل اليمن إذ لم يقبلها بنو تميم قالوا: قبلنا جئناك لنتفقه في الدين، ولنسألك عن أول هذا الأمر ما كان؟ قال: كان الله ولم يكن شيء قبله، وكان عرشه على الماء، ثم خلق السموات والأرض، وكتب في الذكر كل شيء، ثم أتاني رجل فقال: يا عمران أدرك ناقتك فقد ذهبت فانطلقت أطلبها، فإذا السراب ينقطع دونها، وايم الله لوددت أنها قد ذهبت ولم أقم.

الأعظمي 8191صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Beginning of creation
Section
Allah existed and nothing existed before Him
Numbering
Jami al-Kamil 8191 (2nd edition)
Azami 8191