No human on earth can draw a straight line on the surface of the earth between two far cities except with the aid of detailed maps, made possible today due to airplanes, satellites, and knowledge of latitude, longitude, and land height. However, there was a person who had done this 1400 years ago. This person is the prophet Muhammad (peace be upon him).
While the prophet Muhammad (peace be upon him) was in Madinah Al-Munawarah, Allah instructed him that he should face in the direction of the Sacred Masjid in Makkah. From then on, it became the Qiblah for Muslims. And from then on, Islam was spreading. After the victory of (Fatih Makkah) people came and entered Islam. Then, the prophet (peace be upon him) started to sent the teachers to these people to teach them Islam. One of them Wabr ibn Yohanas Al-Khozaee whom the prophet (peace be upon him) sent to Yemen (Sana'a). He was ordered to teach people of Sana and to build them a Masjid by features the prophet (peace be upon him) had defined to him.