Answer
Ali ibn Abi Talib was the grandfather of Ali al-Sajjad. Ali ibn Abi Talib was a prominent figure in Islamic history, serving as the fourth caliph of the Rashidun Caliphate and a cousin and son-in-law of the Prophet Muhammad. He was known for his piety, knowledge, and bravery, and is revered by both Sunni and Shia Muslims.