All religion got their book which teaches the way of life one should follow according to that religion. Its not only in Islam... Have you heard of Bible or Bhagavat Gita?