Aslam

Surah Maryam — 19:78
أَطَّلَعَ ٱلۡغَيۡبَ أَمِ ٱتَّخَذَ عِندَ ٱلرَّحۡمَٰنِ عَهۡدٗا
Has he looked into the unseen or taken a pledge from the Most Beneficent?

Commentary

Does he have knowledge of the Ghaib and therefore he said that with some proof? Or does he have a pledge with his Lord to enter him into paradise and to give him wealth and children?

Read Tafsir Ibn Kathir