Hazrat Abu Ishaq says that I heard Sayyiduna Bara’ (may Allah be pleased with him) saying, he said: We prayed facing Bayt al-Maqdis for sixteen or seventeen months in the company of the Prophet (peace and blessings be upon him), then we were turned towards the Ka'bah.