Verily, We have created all things with Qadar (Divine Preordainments of all things before their creation, as written in the Book of Decrees Al-Lauh Al-Mahfooz)
Indeed, We have created everything with its program (qadar – fate).
Al-muntakhab fi tafsir al-Qur'an al-Karim
Nothing do We create casually; but everything, spiritual, animate and inanimate We create according to plan indicating the relations of objects to one another, times and places of intended doings and actions, proportions and measures, disposition of parts, designs, arrangements, limitations and consequence, all in one single act