Abu'l-Hasan Ali ibn Ubaydallah Sadiq (Persian: ابوالحسن علی بن عبیدالله صادق), commonly known as Ali Daya (علی دایا), was a Tajik[1] commander who served under the early Ghaznavid rulers, but later fell out of favor and was executed.
Ali Daya is first mentioned in 1030, when the Ghaznavid Sultan Mahmud died and was succeeded by his son Muhammad.
However, the majority of the Ghaznavid troops, which included Ali Daya, mutinied again Muhammad, and joined the latter's brother more experienced Mas'ud I who was at Nishapur.
[3] Ali Daya was later present at the Battle of Dandanaqan in 1040, where the Ghaznavids suffered a disastrous defeat.
Mas'ud, who blamed Ali Daya and his comrades for the disastrous Ghaznavid defeat, had them imprisoned and then shortly executed in India.