Prayer for non-Qiblah

And whoever sees the people of the mosque praying to a place other than the qiblah, the head of that place shall be isolated .