Ibrahim ibn Ilyas was a Samanid ruler of Herat (856-c. 867). He was the son of Ilyas.
Upon his father's death in 856, Ibrahim was given control of the city of Herat. He afterwards became a military leader for the Tahirid governor of Khurasan, Muhammad ibn Tahir. Ibrahim was sent by Muhammad to battle the upstart SaffaridYa'qub bin Laith in 867. Having been defeated near Pushang, he advised Muhammad to compromise with the Saffarid. Conflict between the two sides continued, however, and eventually Ibrahim was captured by the Saffarids at Nishapur and sent to Sistan. The Tahirids assumed direct control over Herat.