Abu'l-Hasan Ali ibn Fadl ibn Ahmad Isfarayini (Persian: ابوالحسن علی بن فضل بن احمد اسفراینی, died 1013/14), commonly known as Abu'l-Hasan Isfarayini (ابوالحسن اسفراینی), was a Persian[1] vizier of the Ghaznavid sultan Mahmud of Ghazni (r. 998–1030) from 998 to 1010.