Qasim's mother was of ‘Ali's family and his daughter Farwah bint al-Qasim, who married Muhammad al-Baqir, was the mother of Jafar al-Sadiq. Therefore al-Qasim was the grandson of the first caliph Abu Bakr and the grandfather of Ja'far al-Sadiq.