The Husaynids are a part of the Alids and are descendants of Husayn ibn Ali who is the grandson of Muhammad. They and the Hasanids form the two main branches of the Alid family.