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.
quran:16:3

He created the heavens and earth in truth. High is He above what they associate with Him.  

He created the heavens and the earth with the Truth, that is, with the purpose of ˹manifesting˺ truth. Exalted be He above what they associate, with Him in the way of idols.
القرآن:١٦:٣

خَلَقَ السَّمَاوَاتِ وَالْأَرْضَ بِالْحَقِّ ۚ تَعَالَىٰ عَمَّا يُشْرِكُونَ  

(خلق السماوات والأرض بالحق) أي محقا (تعالى عما يشركون) به من الأصنام.