The qibla (Arabic: قبلة, lit. 'direction') is the direction towards the Kaaba in the Sacred Mosque in Mecca, which is used by Muslims in various religious contexts, particularly the direction of prayer for the salah. According to Islamic tradition, the Kaaba is believed to be a sacred site built by prophets Abraham and Ishmael, and that its use as the qibla was ordained by God in several verses of the Quran revealed to Muhammad in the second Hijri year. Prior to this revelation, Muhammad and his followers in Medina faced Jerusalem for prayers. Most mosques contain a mihrab (a wall niche) that indicates the direction of the qibla. The qibla is also the direction for entering the ihram (sacred state for the hajj pilgrimage), the direction to which animals are turned during dhabihah (Islamic slaughter), the recommended direction to make du'a (supplications), the direction to avoid when relieving oneself or spitting, and the direction to which the deceased are aligned when buried. The qibla may be observed facing the Kaaba accurately (ayn al-ka'ba) or facing in the general direction (jihat al-ka'ba). Most Islamic scholars consider that jihat al-ka'ba is acceptable if the more precise ayn al-ka'ba cannot be ascertained. The most common technical definition used by Muslim astronomers for a location is the direction on the great circle—in the Earth's Sphere—passing through the location and the Kaaba. This is the direction of the shortest possible path from a place to the Kaaba, and allows the exact calculation (hisab) of the qibla using a spherical trigonometric formula that takes the coordinates of a location and of the Kaaba as inputs (see formula below). The method is applied to develop mobile applications and websites for Muslims, and to compile qibla tables used in instruments such as the qibla compass. The qibla can also be determined at a location by observing the shadow of a vertical rod on the twice-yearly occasions when the Sun is directly overhead in Mecca—on 27 and 28 May at 12:18 Saudi Arabia Standard Time (09:18 UTC), and on 15 and 16 July at 12:27 SAST (09:27 UTC). The spaceflight of a devout Muslim, Sheikh Muszaphar Shukor, to the International Space Station (ISS) in 2007 generated a discussion with regard to the qibla direction from low Earth orbit, prompting the Islamic authority of his home country, Malaysia, to recommend determining the qibla "based on what is possible" for the astronaut.
History and location
The qibla is the direction of the Kaaba, a cube-like building at the centre of the Sacred Mosque (al-Masjid al-Haram) in Mecca, in the Hijaz region of Saudi Arabia. Other than its role as qibla, it is also the holiest site for Muslims, also known as the House of God (Bayt Allah) and where the tawaf (the circumambulation ritual) is performed during the Hajj and umrah pilgrimages. The Kaaba has an approximately rectangular ground plan with its four corners pointing close to the four cardinal directions. According to the Quran, it was built by Abraham and Ishmael, both of whom are prophets in Islam. Few historical records remain detailing the history of the Kaaba before the rise of Islam, but in the generations prior to Muhammad, the Kaaba had been used as a shrine of the pre-Islamic Arabic religion. There are different reports of the qibla direction when Muhammad was in Mecca (before his migration to Medina). According to a report cited by historian al-Tabari and exegete (textual interpreter) al-Baydawi, Muhammad prayed towards the Kaaba. Another report, cited by al-Baladhuri and also by al-Tabari, says that Muhammad prayed towards Jerusalem while in Mecca. Another report, mentioned in Ibn Hisham's biography of Muhammad, says that Muhammad prayed in such a way as to face the Kaaba and Jerusalem simultaneously. The qibla status of the Kaaba (or the Sacred Mosque in which it is located) is based on the verses 144, 149, and 150 of the al-Baqarah chapter of the Quran, each of which contains a command to "turn your face toward the Sacred Mosque" (fawalli wajhaka shatr al-Masjid il-Haram). According to Islamic traditions, these verses were revealed in the month of Rajab or Sha'ban in the second Hijri year (623 CE), or about 15 or 16 months after Muhammad's migration to Medina. Prior to these revelations, Muhammad and the Muslims in Medina had prayed towards Jerusalem as the qibla, the same direction as the prayer direction—the mizrah—used by the Jews of Medina. Islamic tradition says that these verses were revealed during a prayer congregation; Muhammad and his followers immediately changed their direction from Jerusalem to Mecca in the middle of the prayer ritual. The location of this event became the Masjid al-Qiblatayn ("The Mosque of the Two Qiblas"). Before the development of astronomy in the Islamic world, Muslims used traditional methods to determine the qibla. These methods included facing the direction that the companions of Muhammad had used when in the same place; using the setting and rising points of celestial objects; using the direction of the wind; or using due south, which was Muhammad's qibla in Medina. Early Islamic astronomy was built on its Indian and Greek counterparts, especially the works of Ptolemy, and soon Muslim astronomers developed methods to calculate the approximate directions of the qibla, starting from the mid-9th century. In the late 9th and 10th centuries, Muslim astronomers developed methods to find the exact direction of the qibla which are equivalent to the modern formula. Initially, this "qibla of the astronomers" was used alongside various traditionally determined qiblas, resulting in much diversity in medieval Muslim cities. In addition, the accurate geographic data necessary for the astronomical methods to yield an accurate result was not available before the 18th and 19th centuries, resulting in further diversity of the qibla. Historical mosques with differing qiblas still stand today throughout the Islamic world. Today Muslims of all branches, including the Sunni and the Shia, all pray towards the Kaaba. Historically, one major exception was the Qarmatians, a now-defunct syncretic Shia sect which rejected the Kaaba as the qibla; in 930, they sacked Mecca and for a time took the Kaaba's Black Stone to their centre of power in al-Ahsa, with the intention of starting a new era in Islam.
Religious significance
… excerpt ends here. Continue reading the full article.




![Qibla: For example, the qibla from the city of Yogyakarta, Indonesia, can be calculated as follows. The city's coordinates,
ϕ
{\displaystyle \phi }
, are 7.801389°S, 110.364444°E, while the Kaaba's coordinates,
ϕ
Q
{\displaystyle \phi _{Q}}
, are 21.422478°N, 39.825183°E. The longitude difference
Δ
L
{\displaystyle \Delta L}
is (110.364444 minus 39.825183) 70.539261. Substituting the values into the (3) obtains an answer of approximately 295°, or 25° north of west.[28]](https://upload.wikimedia.org/wikipedia/commons/thumb/c/cb/Qibla_from_Yogyakarta_on_globe%2C_English_labels_paths.svg/500px-Qibla_from_Yogyakarta_on_globe%2C_English_labels_paths.svg.png?utm_source=en.wikipedia.org&utm_campaign=parser&utm_content=thumbnail)

