All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
We mentioned the ruling on praying behind the people of innovation in Fatwa 369256, so we refer the questioner to it. It contains the answer to his question.
Allah knows best.