39 "A Book": the Writ of destiny,
40 Here, "it" may be referring to the affliction as well as to the earth, or the self of man, or in view of the context, to all the creatures.
41 That is, it is not at all difficult for Allah to pre-ordain the destiny of each and every one of His creatures.