Which Qibla did Adam(AS) and Ibrahim(AS) face while praying when, I think, Al-Aqsa Mosque was not built at that time? Why did Qibla was changed from Bait-ulMaqhis to Kaaba?

Answer:

The Qiblah of Aadam (Alayhis salaam) and Ebrahim (Alayhis salaam) was the Ka?abah in Makkah Mukarramah. Rasulullah (Sallallaahu Alayhi Wasallam) faced Baytul Maqdis with the order of Alah and turned towards the Ka?abah also with the order of Allah.

and Allah Ta’ala Knows Best

Mufti Ebrahim Desai

Original Source Link

This answer was collected from Askimam.org, which is operated under the supervision of Mufti Ebrahim Desai from South Africa.

Link