Surah Al-Ahqaf

46:23

قَالَ إِنَّمَا ٱلْعِلْمُ عِندَ ٱللَّهِ وَأُبَلِّغُكُم مَّآ أُرْسِلْتُ بِهِۦ وَلَٰكِنِّىٓ أَرَىٰكُمْ قَوْمًۭا تَجْهَلُونَ

He said, "Knowledge [of its time] is only with Allah, and I convey to you that with which I was sent; but I see you [to be] a people behaving ignorantly."

Tafsir 46:23

He said: “The knowledge of the time for punishment is only with Allah and I do not have any knowledge of it. I am only a messenger who conveys to you what I have been sent with towards you. However, I see you as a people who are unaware of what contains benefit for you, so you leave it, and of what contains harm for you, so you commit it”.