You're overlooking something important when comparing Mohammed and Jesus. Whereas Mohammed was a prophet, a (mere) messenger of God, Jesus is part of the holy trinity. As God defines morality (or is the only source of knowledge concerning morality, take your theological pick), what Jesus did was...