The reverse of that order is to be applied on entering a mosque and coming out from it.