Abu'l-Najm Badr al-Mu'tadidi was the chief military commander of the Abbasid Caliphate during the reign of Caliph al-Mu'tadid (892–902). Originally a military slave (ghulam or mawla) who served under the future al-Mu'tadid in the suppression of the Zanj Rebellion, his ability and loyalty led him to become the Caliph's commander-in-chief, exercising considerable influence in the governance of the state throughout Mu'tadid's reign. He was executed on 14 August 902 due to the machinations of the ambitious vizier, al-Qasim ibn Ubayd Allah.
Badr was the son of one of Caliph al-Mutawakkil's freed slaves (mawali), whose name is uncertain (Khurr or Khayr). He began his career as an equerry under the stable-master of al-Muwaffaq, the virtual regent of the Caliphate during the reign of his brother al-Mu'tamid (r. 870–892) and father of the caliph al-Mu'tadid (r. 892–902). He then became one of a group of the military slaves or pages (ghilman) recruited by Mu'tadid for the campaigns against the Zanj Rebellion, and appears early on as one of the most prominent figures among this group. Like the other ghilman of Mu'tadid, his name is a "pet name" rather than a regular name, meaning "full moon". Likewise, his kunya was Abu'l-Najm ("Father of the Star"), and he had a son called Hilal, "New Moon". During the Zanj war, the ghilman, often with the young Mu'tadid at their head, played the main role in the fighting, providing the Abbasid armies with a professional core, filling leadership positions, and undertaking the most difficult assaults.
Badr was one of the most trusted servants of Mu'tadid, and became all-powerful under the latter's patronage. Already on Mu'tadid's succession of his father as regent of the Caliphate in June 891, Badr was named as chief of security (sahib al-shurta) of Baghdad. When Mu'tadid succeeded to the throne in October 892, Badr became commander-in-chief of the army. Aside from leading numerous expedition in person as part the Caliph's campaigns of restoration of Abbasid power, he also came to wield enormous political power: he could exercise a veto on all important government decisions, while his daughter married one of Mu'tadid's sons, the future caliph al-Muqtadir (r. 908–932). He was a firm friend of Ubayd Allah ibn Sulayman ibn Wahb, the vizier for most of Mu'tadid's reign, whom he was often able to protect from the Caliph's outbursts of anger. Their smooth working relationship was instrumental in negating the friction between the military and the civil bureaucracy that had plagued earlier rulers. As such, he was often eulogized by the court poets alongside the Caliph himself, particularly by Abu Bakr al-Suli. At Baghdad, he was entrusted with the supervision of the reconstruction of the city's Great Mosque, originally established by al-Mansur (r. 754–775). He also built a palace for himself in the new palace district on the part of the city east of the Tigris, after which the nearby gate of Bab al-Khassa (Privy Gate) became known as the Bab Badr.