Ahmad ibn Musa ibn Shakir

أحمد بن موسى بن شاكر

Baghdad

Abu al-Qasim Ahmad ibn Musa ibn Shakir (died in the 9th century), middle brother of the Banu Musa of Baghdad and the family's engineer: author of the Book of Ingenious Devices (Kitab al-Hiyal), describing a hundred mechanical inventions — self-trimming lamps, trick vessels and an automatic flute player counted among the earliest programmable machines — the only one of his works to survive, and of treatises on the trisection of the angle and on the instrument that sounds by itself. No birth or death year is attested for him by the scholarship the English article rests on; the Arabic article's years (803-873) are preserved in his record as an unverified tradition.

Depth

At a glance

Roles
engineer · mathematician
Region
Levant & Iraq
Identifiers
Wikidata
Review

In space

Baghdad

Map: Natural Earth, public domain · places and route from the graph

Place in the story

    Unknown (unknown)

    Roles are dated and sourced; the museum describes the act and attributes the judgement.

    Summary

    Abu al-Qasim Ahmad ibn Musa ibn Shakir was the middle brother of the Banu Musa of Baghdad and the family's engineer — the brother whose name attaches to the Book of Ingenious Devices, the most famous mechanical treatise of the medieval Islamic world. 1 2 He was educated with his brothers Muhammad and al-Hasan at the House of Wisdom after their father Musa ibn Shakir's death, under the patronage of the caliph al-Ma'mun. 1 No birth or death year is attested for him in the scholarship the English article rests on: that article dates him only to the ninth century and states that of the three brothers only Muhammad's death year, 873, is known. 1 The Arabic article prints the years 803–873 for him, and his Wikidata item gives 805 and 873; all are unsourced and of one modern tradition, and they are preserved here as a tradition, not built into this record as dates. 2 3

    The Book of Ingenious Devices

    The Kitab al-Hiyal — the Book of Ingenious Devices — is the only one of Ahmad's works to survive, and it describes a hundred inventions. 1 About twenty-five had practical use: mechanical fountains, a hurricane lamp, lamps that trim and feed themselves, a form of gas mask for underground work, and a clamshell grab for recovering objects from underwater. 1 The rest are ingenious pouring vessels built to puzzle party guests — unimportant as objects, but the means behind them matter: automatic one-way and two-way valves, mechanical memories, feedback responses and delay mechanisms, most of them driven by water pressure and by small variations in fluid pressure that the Greek sources he drew on, Philo of Byzantium and Hero of Alexandria, had not developed so far. 1 The book's automatic flute player — a figure that plays by means of a programmed mechanism — has been counted among the earliest programmable machines. 1 4 Its manuscripts survive at the Vatican, in Berlin and Gotha, and at the Topkapi in Istanbul, the last being the oldest and most reliable copy. 1

    Other work

    Ahmad's treatise on the trisection of the angle, the Qawl Ahmad ibn Shakir fi tathlith al-zawiyah, survives in two Bodleian manuscripts and in medieval Latin translation — an attempt on one of the classical unsolved problems. 1 A Book on the Description of the Instrument Which Sounds by Itself, credited to the brothers, describes what has been called the first music sequencer. 1 A zij of his, now lost, was still being cited by the Egyptian astronomer Ibn Yunus around 990, and a lost Book of Astronomy analysing Ptolemy's spheres — the Kitab al-Hay'a, or Book on the First Motion of the Celestial Sphere — is also reported under his name. 1 With his brothers he shared in the joint works and in the geodesic and observational programmes of the House of Wisdom circle. 1 5

    At court

    Ahmad taught a son of the caliph al-Mu'tasim, and with Muhammad he was drawn into the Ja'fariyya canal affair under al-Mutawakkil, when the caliph's adviser proposed that the two brothers be made to contribute to a palace's cost. 1 A short treatise preserves his discussion with the engineer Sanad ibn Ali, possibly over the canal's failure — the same Sanad whose timely certification saved the brothers from the caliph's threat of crucifixion beside the drained canal. 1 The Fihrist adds a family note the articles do not: Ahmad had a son, Mutahhar, who entered the circle of the caliph al-Mu'tadid's boon companions. 6 No source consulted names a religion or legal school for Ahmad, and his faith is recorded as unattested. 1 3

    Connections

    Explore the connections

    Child of
    Musa ibn Shakir
    Sibling of
    Al-Hasan ibn Musa ibn Shakir· Muhammad ibn Musa ibn Shakir
    Lived in
    Baghdad

    People and things also explored

    Al-Hasan ibn Musa ibn Shakir· Muhammad ibn Musa ibn Shakir· Musa ibn Shakir· Baghdad· The Nizamiyya Madrasa of Baghdad· Bayt al-Hikma — the House of Wisdom· The 'Adudi Bimaristan· al-Bimaristan al-Muqtadiri

    Sources

    1. Banū Mūsā brothers — English Wikipedia
    2. Banū Mūsā — Arabic Wikipedia
    3. Ahmad ibn Musa ibn Shakir — Wikidata (Q37727438)
    4. Banū Mūsā — Urdu Wikipedia
    5. Banū Mūsā — Wikidata (Q423210)
    6. al-Fihrist of Ibn al-Nadim
    Cite this page

    islam.museum contributors. “Ahmad ibn Musa ibn Shakir”. islam.museum, https://islam.museum/en/person/ahmad-ibn-musa-ibn-shakir/. CC BY-SA 4.0. Last updated 2026-11-01.

    Improve this page on GitHub · Report an error · JSON

    Wing

    People

    Prophets, companions, scholars, rulers, scientists, poets, travelers: women and men who shaped the story.
    Related

    Al-Hasan ibn Musa ibn Shakir

    Al-Hasan ibn Musa ibn Shakir (died in the 9th century), youngest of the Banu Musa brothers of Baghdad and, in the Arabic article's phrase, the most learned of them in mathematics and astronomy. His one attributed treatise, the Book of the Elongated Circular Figure — on drawing an ellipse with two pins and a length of string, the technique now known as the gardener's construction — is lost. No birth or death year is attested for him by the scholarship the English article rests on; the Arabic article's years (810-873) are preserved in his record as an unverified tradition.