Question:
Who has knowledge of ما كان و ما يكون?
Answer:
Knowledge of ما كان و ما يكون belongs to Allah Almighty alone.
❀ Hafiz al-Nawawi (may Allah have mercy on him)
says under the hadith of Khidr (peace be upon him):
هذا الحديث من دلائل مذهب أهل الحق فى أن الله تعالى أعلم بما كان وبما يكون وبما لا يكون لو كان كيف كان يكون
This hadith is evidence for the creed of the people of truth that the knowledge of what has happened, what is going to happen, and what has not happened, how it would have been had it happened, is with Allah Almighty.
❀ Hafiz Ibn Kathir (may Allah have mercy on him)
says:
الله سبحانه وتعالى يعلم ما كان وما يكون وما لم يكن لو كان كيف يكون، وهذا مجمع عليه عند أهل السنة والجماعة
It is the consensual and agreed-upon creed of Ahl al-Sunnah wa al-Jama’ah that the knowledge of what has happened, what is going to happen, and what has not happened, how it would have been had it happened, is with Allah Almighty.