The earlier prayer is not lost
And the Muslims asked about those of their brothers who had died before the qiblah changed. Those had prayed toward Bayt al-Maqdis in obedience to Allah, then died before the new command. Al-Bara ibn Azib, may Allah be pleased with him, preserved this question, and told that the Quran came with reassurance: their prayer will not be lost. They performed it in the way they were ordered. Let us listen to the one hundred and forty-third verse of Surah al-Baqarah (a chapter of the Quran).
English narration has not been recorded yet
