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.
The basic principle is that it is permissible to pray behind any person who belongs to Islam, and the prayer is valid. No Muslim who has taken the Shahaadah (testimony of faith) is to be judged to be a Kaafir (a disbeliever) except if it is firmly established that he has committed an act of disbelief and that he was informed about the ruling on it beyond the excuse of ignorance. Hence, there is no harm on you or your father to continue praying in this mosque. Please refer to fatwa , sees and hears everything is a false statement">329353.
Allah knows best.