Sunni and Shia can distinguish with the Shia wanted to Muhammads cousin Ali would take power after Muhammad died

Please fix the punctuation.
Sunni and Shia can distinguish with the Shia wanted to Muhammad's cousin Ali would take power after Muhammad died.