There is no direct male line from Mohammad. Only descendants of his daughter, Fatima, survived.
Per the Washington Times:
"Mr. Kerry is kinsman of the Shi'ite shahs of Persia (the most famous was Shah Abbas I, who reigned from 1587 to 1629), as well as the Muslim kings of Tunisia, all of whom Democratic presidential nominee included descend from the prophet Muhammad."