Sama' al-Mulk Husayn ibn al-Afdal was a son of al-Afdal Shahanshah, the Fatimid vizier who held power as a quasi-sultan. A military commander, Husayn led Fatimid forces against the Crusader Kingdom of Jerusalem at the 2nd Battle of Ramla in 1102 and the 3rd Battle of Ramla in 1105.
Chroniclers used different titles for him in accounts of the 2 battles: Sharaf al-Ma'ali for 1102 and Sama' al-Mulk for 1105. This variation led some medieval and modern historians to mistakenly identify the commanders as different sons of al-Afdal.
As al-Afdal became increasingly ill and feeble, he appointed Husayn his deputy and presumed heir in 1115. Following a failed assassination attempt in 1118, however, al-Afdal suspected his sons and stripped them of their privileges, income, and personnel, ending the prospect of a dynastic succession.
After al-Afdal was assassinated in December 1121, Husayn and his adult brothers were confined in the caliphal palace. Caliph al-Amir and the new vizier, al-Ma'mun al-Bata'ihi, took control of the government. Husayn's later fate is unknown, though he was likely killed along with most of his brothers.