Pillars & FiqhThe sixth pillar, which is affirming that Allah knew everything and wrote it, willed everything that occurs, and created everything by His power. So whatever Allah wills happens, and whatever He does not will does not happen; nevertheless, the servant has a will and a choice for which he is held accountable, so he has no argument by appealing to divine decree for committing sins.
Source:حديث جبريل، رواه مسلم؛ والقمر: 49

