142. After his migration to Madina the Prophet continued to pray in the direction of Jerusalem for between sixteen and seventeen months. Subsequently, he received the order to pray in the direction of the Ka'bah. See( verse 144 below)