Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:17702Abū al-Ḥusayn b. al-Faḍl al-Qaṭṭān > ʿAbdullāh b. Jaʿfar > Yaʿqūb b. Sufyān > ʿUmar b. Ḥafṣ from my father > al-Aʿmash > Jāmiʿ b. Shaddād > Ṣafwān b. Muḥriz > ʿImrān b. Ḥuṣayn

[Machine] I entered upon the Messenger of Allah ﷺ , and he mentioned a hadith in which he said: They came to ask you about this matter. He said: Allah existed and nothing else existed. His throne was upon the water, and He wrote in the Zabur (the Book) everything, and He created the heavens and the earth.  

البيهقي:١٧٧٠٢أَخْبَرَنَا أَبُو الْحُسَيْنِ بْنُ الْفَضْلِ الْقَطَّانُ أنبأ عَبدُ اللهِ بْنُ جَعْفَرٍ ثنا يَعْقُوْبُ بْنُ سُفْيَانَ ثنا عُمَرُ بْنُ حَفْصٍ ثنا أَبِي ثنا الْأَعْمَشُ ثنا جَامِعُ بْنُ شَدَّادٍ عَنْ صَفْوَانَ بْنِ مُحْرِزٍ أَنَّهُ حَدَّثَهُ عَنْ عِمْرَانَ بْنِ حُصَيْنٍ قَالَ

دَخَلْتُ عَلَى رَسُولِ اللهِ ﷺ فَذَكَرَ الْحَدِيثَ قَالَ فِيهِ قَالُوا جِئْنَاكَ نَسْأَلُكَ عَنْ هَذَا الْأَمْرِ قَالَ كَانَ اللهُ وَلَمْ يَكُنْ شَيْءٌ غَيْرَهُ وَعَرْشُهُ عَلَى الْمَاءِ وَكَتَبَ فِي الذِّكْرِ كُلَّ شَيْءٍ وَخَلَقَ السَّمَاوَاتِ وَالْأَرْضَ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ عُمَرَ بْنِ حَفْصِ بْنِ غِيَاثٍ وَالْمُرَادُ بِهِ وَاللهُ أَعْلَمُ ثُمَّ خَلَقَ الْمَاءَ وَخَلَقَ الْعَرْشَ عَلَى الْمَاءِ وَخَلَقَ الْقَلَمَ وَأَمَرَهُ فَكَتَبَ فِي الذِّكْرِ كُلَّ شَيْءٍ