ʿAlam al-Dīn al-Ḥanafī (born 1178?, Egypt—died 1251, Egypt) was an Egyptian mathematician, astronomer, and engineer. He wrote a treatise on Euclid’s postulates, built water mills and fortifications on the Orontes River, and constructed the second-oldest existing Arabic celestial globe.