
There is archeological evidence that in the earliest Islamic communities that prayer was conducted facing towards Jerusalem, the Holy city of Judaism and Christianity. But seventeen months after the arrival of the prophet in Medina the orientation changed and the holy city of Mecca, and especially the Kabba, became the focus of Islamic prayer.
