See the Qibla conversion

And whoever sees that the qiblah has been diverted from its place to another side and is followed by that, then it is on three sides that he crosses the king and the visionary moves towards the direction of the qiblah moving or the appearance of a king from that side.