Palani, you are just talking non-sense. Mahabharata and Ramayana are stories. Don't try to justify historical facts with what has been written in a story.
Mohammed was a historical person who lived nearer to our time. The atrocities committed by him are well documented.