Abdullah bin Amr bin As reported,

I heard the Messenger of Allah ﷺ say, "Allah recorded the measures of all creation fifty thousand years before He created the heavens and the earth." He added, "And His Throne was upon the water."

Muslim 6749

Sahih

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

مسلم 6749صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Decree
Chapter
Hajjaj between Adam and Musa, peace be upon them
Numbering
Darussalam 6749
Muslim 6749