عَنْ عَبْدِ اللَّهِ بْنِ عَمْرِو بْنِ الْعَاصِ قَالَ سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ كَتَبَ اللَّهُ مَقَادِيرَ الْخَلَائِقِ قَبْلَ أَنْ يَخْلُقَ السَّمَاوَاتِ وَالْأَرْضَ بِخَمْسِينَ أَلْفَ سَنَةٍ قَالَ وَعَرْشُهُ عَلَى الْمَاءِ(مسلم شریف: ۳۶۵۳)
Translation
Hazrat Abdullah bin Amr bin al-Aas (R.A) says that I heard the Messenger of Allah (PBUH) saying: "Allah Almighty had written the destinies of the creation fifty thousand years before the creation of the heavens and the earth, and said that 'Allah's Throne was on the water.' (Tafheem-ul-Muslim)