Badr al-Hammami mentioned by al-Tabari. This success was soon followed by the decisive victory of the Abbasid army at the Battle of Hama in November, which led to the capture and execution of Husayn and the senior Qarmatian leaders. In autumn 904, the Abbasids under Muhammad ibn Sulayman al-Katib launched a campaign to recover Egypt and end the Tulunid regime. When Muhammad arrived at the borders of Egypt in November, Badr went over to him. The defection of the most senior commander was soon followed by other Tulunid officers, and when Harun ibn Khumarawayh was killed by one of his own men,
Battle of Badr with the polytheists, we shall be steadfast in our support to you. In war and in peace, we shall be consistently faithful to you." So, the Muslims continued to march towards Badr. By 11 March both armies were about a day's march from Badr. Several Muslim warriors (including, according to some sources, Ali) who had ridden ahead of the main column captured two Meccan water carriers at the Badr wells. Expecting them to say they were with the caravan, the Muslims were horrified to hear them say they were with the main Quraishi army. Some traditions also say that, upon