Abdullah b. 'Amr b. al-'As reported:I heard Allah's Messenger (ﷺ) as saying: Allah ordained the measures (of quality) of the creation fifty thousand years before He created the heavens and the earth, as His Throne was upon water
Hadith No. 6749
Sahih Muslim