When you are separate from the Kaaba [the holy shrine in Mecca, the place all Muslims turn toward when they pray], it is all right to turn toward it, but those who are in it can turn toward any direction they wish.