Praise be to Allaah.
You should say “Subhaan Allaah!” to him. If he pays attention, then all well and good, otherwise you should leave the salaah and pray on your own. It is not permissible for you to continue praying behind him. And Allaah knows best.
Sheikh Muhammed Salih Al-Munajjid