Qiblih

And likewise, reflect upon the revealed verse concerning the "Qiblih." [The direction toward which the face must be turned when praying.] When Muhammad, the Sun of Prophethood, had fled from the dayspring of Batha [Mecca] unto Yathrib,[Medina] He continued to turn His face, while praying, unto Jerusalem, the holy city, until the time when the Jews began to utter unseemly words against Him -- words which if mentioned would ill befit these pages and would weary the reader. Muhammad strongly resented these words. Whilst, wrapt in meditation and wonder, He was gazing toward heaven, He heard the kindly Voice of Gabriel, saying: "We behold Thee from above, turning Thy face to heaven; but We will have Thee turn to a Qiblih which shall please Thee." On a subsequent day, when the Prophet, together with His companions, was offering the noontide prayer, and had already performed two of the prescribed Rik'ats,[prostrations] the Voice of Gabriel was heard again: "Turn Thou Thy face towards the sacred Mosque."[at Medina]. In the midst of that same prayer, Muhammad suddenly turned His face away from Jerusalem and faced the Ka'bih. Whereupon, a profound dismay seized suddenly the companions of the Prophet. Their faith was shaken severely. So great was their alarm, that many of them, discontinuing their prayer, apostatized their faith. Verily, God caused not this turmoil but to test and prove His servants. Otherwise, He, the ideal King, could easily have left the Qiblih unchanged, and could have caused Jerusalem to remain the Point of Adoration unto His Dispensation, thereby withholding not from that holy city the distinction of acceptance which had been conferred upon it.

Bahá’u’lláh, The Kitab-i-Iqan, p. 48