Al-Azazi's needle-housed basita for the qibla

بسيطة العزازي ذات بيت الإبرة للقبلة

In the treatise of the Shafi'i Egyptian astronomer Khalil ibn Ibrahim al-Azazi (late thirteenth century AH) on sundials: a method for making the basita — a horizontal dial — with a needle-housed pointer to find the qibla of countries, together with lines of fadl al-da'ir and afternoon observations dated 1282 AH; the Bibliotheca Alexandrina catalog places him in mid-nineteenth-century astronomy 1.

Depth

At a glance

Era
The Colonial Era
Region
Egypt & Nile

Images

Flat brass plate with graduated hour lines and a rotating qibla-direction pointer; a later Iranian instrument combining timekeeping and qibla-finding.
Clem Rutter, 17C Iranian Horizontal Dial & Qibla pointer 6361.JPG, photographed at the National Museums Liverpool, Wikimedia Commons, CC BY-SA 3.0 https://creativecommons.org/licenses/by-sa/3.0/; unchanged. Later contextual object, not al-Azazi's basita and not his maker. · Licence: CC-BY-SA · Media record

Astronomy and timekeeping

Flat brass plate with graduated hour lines and a rotating qibla-direction pointer; a later Iranian instrument combining timekeeping and qibla-finding.
Image: Iranian horizontal dial and qibla pointer — contextual photograph. Clem Rutter, 17C Iranian Horizontal Dial & Qibla pointer 6361.JPG, photographed at the National Museums Liverpool, Wikimedia Commons, CC BY-SA 3.0 https://creativecommons.org/licenses/by-sa/3.0/; unchanged. Later contextual object, not al-Azazi's basita and not his maker.

Quick facts

Domain
Timekeeping
Kind
Instrument
First attested
1882 CE · 1300 AH (derived)
Era
Nineteenth century
Where
Misr (Egypt)
Described in
Risalat al-Azazi fi al-mazawil (al-Azazi's treatise on sundials)
Attribution
Improvement

Who made it

The claim and its basis

The basita is an old horizontal sundial and needle-house qibla pointers are known in later instruments; what is documented here is that al-Azazi's treatise describes a method for making a basita with a needle-house to find the qiblas of countries — not that he invented the basita or the needle-house family.

The Bibliotheca Alexandrina catalog lists his treatise 'Risalat al-Azazi fi al-mazawil' and describes it as covering the lines of fadl al-da'ir and the afternoon arcs; within it the catalog gives 'the method of making the basita with a needle-house for finding the qibla of countries', recording an observation of afternoon lines dated 1282 AH.

Sources: Contributions of Arab and Islamic Civilisation to Astronomy from the Scientific Manuscripts of al-Azhar Library, Alexandria: Bibliotheca Alexandrina (CULTNAT) and UNESCO, 2006 · Iranian horizontal sundial and qibla pointer photograph metadata — National Museums Liverpool, via Wikimedia Commons

Before it

  • The basita and sundial families in earlier Islamic astronomical tradition before the nineteenth century

How it works

From the plain basita to al-Azazi's needle-housed variant

Summary

Al-Azazi's needle-housed basita is the instrument variant described in the sundial treatise of Khalil ibn Ibrahim al-Azazi, a Shafi'i Egyptian astronomer of the late thirteenth century AH, preserved in a copy dated 1302 AH 1. The catalog describes his method for making the basita — a horizontal sundial — with a needle-house for finding the qibla of countries, alongside lines of fadl al-da'ir and observations dated 1282 AH 1. The museum records the contribution as an improvement inside the established basita and sundial families, not the invention of either.

What it is

The basita is the horizontal sundial of Islamic astronomy: a flat plate marked with hour-lines that uses the sun's shadow to tell time 1. Al-Azazi's variant adds a needle-house — a small housing for a pointer or needle — that turns the dial into a qibla indicator as well as a timekeeper 1. The combination serves the two most practical astronomical needs of a Muslim community: knowing when to pray and knowing which way to face.

The world before it

Horizontal sundials were ancient and well established across the Islamic world by the nineteenth century. The basita in particular belonged to the working tradition of muwaqqits and astronomers who served mosques and courts 1. Qibla determination had its own instruments — astrolabes, quadrants, and later dedicated qibla compasses — but combining a qibla pointer into a horizontal dial was a specialized refinement, not a standard feature 1. Al-Azazi's treatise documents one such refinement in late Ottoman Egypt.

The story

Khalil ibn Ibrahim al-Azazi was an Egyptian astronomer of the Shafi'i school, active in the last quarter of the thirteenth century AH — the mid-to-late nineteenth century CE 1. The Bibliotheca Alexandrina catalog lists his treatise on sundials, titled in the tradition of the genre as a work on al-mazawil (sundials) and the lines of fadl al-da'ir — the supplementary arcs drawn on dials to adjust for seasonal and latitudinal variation 1. Within that treatise the catalog describes his method for the needle-housed basita and records an observation dated 1282 AH 1. The treatise itself is structured as an introduction, two chapters and a conclusion 1.

The surviving copy is dated 1302 AH, placing the manuscript in the late nineteenth or early twentieth century — a copy of an earlier composition, not the autograph 2. It comprises eighteen leaves measuring 24×17 cm, copied by Ali Miyas al-Shafi'i al-Bayumi al-Ahmadi 1. The catalog entry is the primary evidence for both the man and the instrument; no dated example of the needle-housed basita itself was inspected for this record.

The timing matters. Al-Azazi worked at the tail end of the Arabic astronomical tradition — after the observatories of Maragha and Samarkand, after the printed ephemerides of European cities were already circulating, and at a moment when Egyptian scholars were still writing instrument treatises in Arabic for local readers 1. His work is thus both a continuation and a late flower: the same genre that produced medieval muwaqqit manuals, written by a scholar whose own dates place him in the colonial era.

The maker(s)

Al-Azazi's Muslim identity and school are documented directly: the catalog describes him as a Shafi'i Egyptian astronomer 1. Among his other works the same catalog lists al-Kawkab al-azhar on using the astrolabic quadrant, a treatise on the lines of fadl al-da'ir, Wasilat al-tullab on computing prayer times, and a treatise on the rules of astronomy, and it counts him among the latest works in the history of the science 1. His scholarly output in this record was the sundial treatise; his maker's identity is that of an author describing an instrument variant, not necessarily a craftsman who built it. Whether he constructed the basita himself or described a workshop practice is not established by the catalog entry. What the entry does establish is that he was a working astronomer — one who observed (the 1282 AH sighting recorded in his treatise) and wrote for practitioners rather than theorists 1.

How it works

The basita works by shadow geometry: the sun's shadow falls on a plate marked with hour-lines drawn for the latitude of use 1. The lines of fadl al-da'ir supplement the basic hour-lines to correct for the sun's declination through the year — without them, a horizontal dial is accurate only at equinox 1. The needle-house addition provides a fixed reference for the qibla direction, so the same plate that reads the hour can also be oriented toward Mecca. The catalog describes the method but does not reproduce the construction steps in the entry consulted 1.

The spread

The treatise survives in the Bibliotheca Alexandrina manuscript tradition; whether it circulated beyond Egypt or influenced later instrument-makers is not documented in the sources read 1. The basita-qibla combination as an instrument type had a longer life in Persian and Ottoman instrument-making, as later photographic evidence shows, but no direct lineage to al-Azazi's specific method is established 3. The manuscript's survival in a national library suggests it was valued enough to copy and preserve, even if its technical influence remained local.

What it was built on

The variant rests on two inherited traditions: the basita as a horizontal sundial type with its hour-line geometry, and the qibla-pointer as a separate instrument function 1. The lines of fadl al-da'ir belong to the standard sundial literature that corrects for solar declination — supplementary arcs drawn so that the dial stays accurate as the sun's declination changes through the year 1. Al-Azazi's documented contribution is combining these elements into one described instrument: a flat dial that tells time and, through its needle-house, indicates the direction of the qibla.

What was built on it

Nothing is documented as built on al-Azazi's specific method 1. The basita-qibla family continued independently in later Iranian and Ottoman instruments — the displayed photograph shows a seventeenth-century Iranian horizontal dial with a qibla pointer — but the sources read do not connect it to his treatise 3.

Impact on daily life

For a Muslim community, a dial that gives both time and qibla direction addresses the two daily questions that structure religious practice: when to pray and which way to face 1. The muwaqqit who maintained mosque time could use one instrument for both tasks, and a household copy would let a family check prayer times without consulting the scholar 1. In nineteenth-century Egypt, where mosque timekeepers still worked with traditional instruments alongside emerging printed tables, such a device had practical value. Its impact was local and modest — a refinement of an existing instrument rather than a new technology.

How it changed history

Al-Azazi's record is a late witness to the continuity of Arabic-language astronomical writing into the nineteenth century 1. It shows that the tradition of describing instrument construction in Arabic treatises persisted in Egypt long after the instrument itself had been superseded elsewhere by mechanical clocks and printed ephemerides. The catalog entry preserves a name and a method that would otherwise be lost.

Who invented it?

The basita was not invented by al-Azazi, and the qibla pointer was not his invention either 1. His documented contribution is a treatise describing a specific combination — a horizontal dial with a needle-house for qibla — written in late nineteenth-century Egypt. Whether he devised the combination or transmitted an existing workshop practice is not established. The museum records improvement, bounded to the documented method.

Today

No surviving example of al-Azazi's needle-housed basita is identified 1. The basita-qibla family survives in museum collections and later Iranian and Ottoman examples 3. Today prayer times and qibla direction are computed by software and printed tables; the sundial survives as heritage and education. The displayed photograph shows a later Iranian dial of the same family — context for the instrument type, not an example of his work.

Surviving examples

The treatise survives in a Bibliotheca Alexandrina copy dated 1302 AH 2. No instrument matching the needle-housed description has been securely identified. The Iranian horizontal dial photograph shows the family continuing into the seventeenth century, long before al-Azazi's period, confirming that the instrument type was established — his contribution was the documented method, not the instrument's existence 3.

In culture

Al-Azazi belongs to the late flowering of Arabic astronomical writing in Egypt — a tradition that persisted in manuscript form alongside the printed scientific literature of the colonial period 1. His treatise on sundials and qibla directions reflects the continuing practical needs of Muslim communities for time and orientation, needs that software has since taken over but that shaped the instrument culture for centuries. The genre itself — the sundial treatise with its lines of fadl al-da'ir — descends from a long Arabic tradition of instrument manuals, and his entry in the catalog keeps that tradition's late chapter visible 1.

For young readers

Long ago, Muslims used sundials — flat plates with lines — to know prayer times. One Egyptian scholar named al-Azazi wrote a book describing a special kind of sundial that could also point toward Mecca, using a tiny needle in a small house. His book is still preserved in a library, though we don't know if any of his dials still exist. Today we use phone apps for prayer times, but his book reminds us how people solved the same problems with brass and sunlight.

And so al-Azazi's record stands as a witness that the tradition of describing Arabic instruments did not die in the nineteenth century — it was still producing writers who joined the everyday needs of religious life to the precision of its tools, in an age when the mechanical clock had already conquered most of the Islamic world long before Egypt, yet treatises continued to be written.

References

1 2 3

Connections

Explore the connections

Improved by
Khalil ibn Ibrahim al-Azazi
Described by
Risalat al-Azazi fi al-mazawil (al-Azazi's treatise on sundials)

People and things also explored

Khalil ibn Ibrahim al-Azazi· Risalat al-Azazi fi al-mazawil (al-Azazi's treatise on sundials)· Misr (Egypt)· Maragha Observatory· Pari Mahal, Srinagar· Sharaf al-Dawla's observatory at Baghdad· al-Hay'a al-sunniyya (tradition-based cosmology)· The Arabic lunar year

Sources

  1. Contributions of Arab and Islamic Civilisation to Astronomy from the Scientific Manuscripts of al-Azhar Library, Alexandria: Bibliotheca Alexandrina (CULTNAT) and UNESCO, 2006 , p. 18
  2. Contributions of Arab and Islamic Civilisation to Astronomy from the Scientific Manuscripts of al-Azhar Library, Alexandria: Bibliotheca Alexandrina (CULTNAT) and UNESCO, 2006 , p. 19
  3. Iranian horizontal sundial and qibla pointer photograph metadata — National Museums Liverpool, via Wikimedia Commons
Cite this page

islam.museum contributors. “Al-Azazi's needle-housed basita for the qibla”. islam.museum, https://islam.museum/en/invention/azazi-qibla-basita/. CC BY-SA 4.0. Last updated 2026-11-15.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

Objects

Manuscripts, art, architecture and relics from collections worldwide.
Related

Khalil ibn Ibrahim al-Azazi

Egyptian Shafi'i astronomer of the late thirteenth century AH, author of a treatise on sundials and the lines of fadl al-da'ir.