Attar's most famous work is Ekhtiyarat i Badi i, which he completed in 1368–1369 CE, and dedicated to the Muzaffarid queen Badi ol Jamal. A comprehensive pharmacopoeia of simple and compound remedies, it is probably the most popular Old Persian medical book. Besides the supplement Sahah ol Adviah authored by Attar's son, several other writers wrote derivative works or supplements to Attar's work. Attar's work was the basis of several later Persian pharmacopoeias including Qarabadin Jalali, Tohfat ol Momenin and Makhzan ol Adviah. Jalal ibn Amin al Morshed al Kazerooni expanded and redacted the second part of Attar's book. Hakim Mohammad Ali al Hoseini of Hyderabad wrote a commentary titled Tatmim Ekhtiyarat i Qutb Shahi on Attar's work.
