The Sultan who had a notable dispute with the Sufi saint Nizamuddin Auliya was Ghiyasuddin Tughlaq, the Sultan of the Delhi Sultanate. Their conflict stemmed from several issues, including Ghiyasuddin's displeasure with Nizamuddin's love for Sufi music (sama) and the saint’s refusal to return cash given to his Khanqah, which the saint had already distributed to the poor. Additionally, there was a famous feud related to the construction of Tughlaqabad Fort and a baoli (stepwell) in the Nizamuddin area, where laborers were forced to work on the fort during the day and on the baoli at night, leading to further tension. Ghiyasuddin Tughlaq even ordered Nizamuddin to leave Delhi, a command the saint calmly ignored. Folklore also attributes a curse to Nizamuddin against Tughlaqabad, foretelling its eventual abandonment. Ghiyasuddin Tughlaq reportedly met a violent end shortly after these disputes, which some accounts link to the saint’s curse or displeasure.
Thus, the Sultan with a dispute with Nizamuddin Auliya was Ghiyasuddin Tughlaq.