Muhammad ibn Qays narrated from Abu Jafar Imam Muhammad ibn Ali Al-Baqir عليه السلام that he said regarding a man who killed his mother: "If he killed her accidentally, he is entitled to a share of her inheritance. However, if he killed her intentionally, he does not inherit anything from her."