Amongst the descendants of Prophet Abraham / Ibrahim (as), Imam Ali (as) belonged to the line of Quraish.
Imam Ali bin Abi Taleb (as) the Commander of the Faithful (Amir al-Muminin) was the first cousin of Holy Prophet Muhammad Mustafa (saw).
His father is Abu Talib the son of Abdul Muttalib
The father of Holy Prophet Muhammad (P) is Abdullah son of Abdul Muttalib.
Abu Talib and Abdullah were brothers from the father Abdul Muttalib (who was called Shaybah) ibn Hashim.