Sahih Muslim | Book 33 | Hadith Number 6416
Narrated by Abdullah b. 'Amr b. al-'As
Abdullah b. 'Amr b. al-'As reported: I heard Allah's Messenger (may peace be upon him) 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.