Imam Kazim (peace be upon him): Mu'alla narrated that Imam Rida (peace be upon him) was asked: "How did Allah come to know?" He said: "He knew, and willed, and intended, and decreed (qaddara), and ordained (qada), and executed (amda). He executed what He had ordained, and ordained what He had decreed, and decreed what He had intended; so His will (mashiyyah) proceeds from His knowledge, and His intention (iradah) from His will, and His decree (taqdir) from His intention, and His ordainment (qada) from His decree, and His execution (imda) from His ordainment. Thus His knowledge precedes His will, and will is in the second rank, and intention in the third rank, and taqdir consists in that qada be executed. Allah, Blessed and Exalted, can, whenever He wills, bring about bada (change of divine decree) in the things He knows and in the things He has intended for the measuring out of things. When Allah's qada takes place through His imda, there is no more bada. So knowledge of the known is before its existence, and will regarding what is willed is before its actualisation, and intending the intended is before its realisation, and taqdir of these known things is before their being detailed and brought forth into actuality and realisation. Qada by way of imda is the definitive form of actions, bodies and perceived things which are grasped by the senses — those existents which have colour, smell, weight and volume, and all creeping things such as humans, jinn, birds, beasts and other existents perceived by the senses. Allah the Exalted has bada in matters that have not yet come into actuality, [but] when the concrete, comprehensible, perceptible form of them occurs, there is no more bada, and Allah does whatever He wills. Through His knowledge of things, He knows them before they come into existence; through His will, He makes known their attributes and limits and brings them into being before manifesting them; through His intention, He distinguishes them from one another in their colours, attributes and limits; through His taqdir, He measures out their sustenance and knows their beginning and end; through His qada, He makes clear their places to people and guides people to them; and through His imda, He explains their causes and makes His command manifest — ذلِکَ تَقْدِیرُ الْعَزِیزِ الْعَلِیمِ [that is the arrangement of the Mighty, the Knowing]."