Yes, it is compulsory to wear an abaya inside a mosque or at a religious site.