It is narrated from Yazid bin Abi Malik that he heard Umar bin Abd al-Aziz (may Allah have mercy on him) say: When you turn your face away from the qiblah, repeat the entire prayer.