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 in the Sunan Abu Dawud no 2686 and Anwal Ma'bud 3/12 However, according to numerous accounts deemed reliable, such as a number of narrations in Sahih Bukhari, and Ibn Sa'd's biographical compendium, the "Tabaqat Al-Kubra", Uqba was not executed but was killed during fighting in the field of battle at Badr and was among those Quraysh leaders whose corpses were buried in a pit. Fourteen Muslims were killed in that battle. The Battle of Badr was extremely influential in the rise of two men who would determine the course of history on the Arabian peninsula for the next century. The