In The Name of Allaah, The Most Merciful, The Bestower of Mercy
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 provides 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) contains all the things that will happen (i.e. written 50,000 years before the creation) and this is one of the levels of Divine Will and Decree. The Devine Will and Decree is of four levels:
[a] Allaah’s All-Encompassing knowledge of all things; [b] The writing down of everything that will exist; [c] His all-encompassing Will and Power over everything; [d] He created all the creation, even the actions of the slaves.
Abridged & Slightly paraphrased …see Tayseer Al-Kareem Ar-Rahmaan Fee Tafseer Kalaam Al-Mannaan of Imaam Sadi (rahimahullaah)