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 the Trench Watt conjectures that the Meccans at this point began to contemplate that conversion to Islam would be the most prudent option. The main contemporary source of the battle is the 33rd Surah of the Quran. The Sunni Muslim Mufassir Ibn Kathir mentions that is about this incident in his book Tafsir ibn Kathir, and his commentary on this verse mentions the reason and event of the Battle, his commentary is as follows: The event is referenced in the Sunni, Hadith collection Sahih al-Bukhari, it mentions the death of Sa'd ibn Mu'adh, as follows: The Sahih al-Bukhari collection also mentions that