Dalil

Quran Taha 20:52

قَالَ عِلۡمُهَا عِندَ رَبِّي فِي كِتَٰبٖۖ لَّا يَضِلُّ رَبِّي وَلَا يَنسَى

Translation

[Moses] said, "The knowledge thereof is with my Lord in a record. My Lord neither errs nor forgets."