Sayyiduna Anas (may Allah be pleased with him) narrates that the Companions used to pray facing Bayt al-Maqdis, then he narrated as in the above-mentioned narration and added these words: "And they counted their previous prayers."