What is the ruling if certainty of error in the initial Qibla estimation becomes clear?

Chapter on Facing the Qiblah

Al-Mughni

Book of Prayer

Book 3 · Issue 4 · Bab 4

Open in Qurani

Primary text

If the error in the initial estimation of the Qibla becomes clear through direct observation or certain report, the person must turn toward the correct direction and build upon the prayer performed thus far. This is evidenced by the people of Quba, who turned to the new Qibla upon being informed and continued their prayer.