Allaah (The Most High) said:

وَمَا مِن دَآبَّةٍ۬ فِى ٱلۡأَرۡضِ وَلَا طَـٰٓٮِٕرٍ۬ يَطِيرُ بِجَنَاحَيۡهِ إِلَّآ أُمَمٌ أَمۡثَالُكُم‌ۚ مَّا فَرَّطۡنَا فِى ٱلۡكِتَـٰبِ مِن شَىۡءٍ۬‌ۚ

”There is not a moving (living) creature on earth, nor a bird that flies with its two wings, but are communities like you. We have neglected nothing in the Book.” [6:38]

That is all the land and air animals, such as cattle, wild animals and birds–they are all nations like yourselves. (Allaah) created them just as He created you; (Allaah) provide them with sustenance just as He provide for you. They are all under the will and power of Allaah just as you are.

[مَّا فَرَّطۡنَا فِى ٱلۡكِتَـٰبِ مِن شَىۡءٍ۬‌ۚ] ”We have neglected nothing in the Book.” There is nothing of these things that has been missed or forgotten by Allaah in the preserved tablet; rather all things—be they small or big—are written in the preserved tablet just as they are. All the events take place just as it was written down by the pen. This Ayah is a proof that the first Book (i.e. the Lawh Al-Mahfoodh) has all the things that will happen (i.e. written 50 years before the creation) and this is one of the levels of Devine Will and Decree. The Devine Will and Decree is of four levels:

[1] Allaah’s all-encompassing knowledge of all things; [2] The writing down of everything that will exist; [3] His all-encompassing Will and Power over everything; [4] He created all the creation, even the actions of the slaves.

———————————————————————————————————————————–

Slightly paraphrased and abridged…see Tayseer Al-Kareem Ar-Rahmaan Fee Tafseer Kalaam Al-Mannaan of Imaam Sadi (rahimahullaah)