Political aspects of the religion of Islam are derived from its religious scripture (the Quran holy book, ḥadīth literature of accounts of the sayings and living habits attributed to the Islamic prophet Muhammad, and sunnah), as well as elements of political movements and tendencies followed by Muslims or Islamic states throughout its history. Shortly after its founding, Islam's prophet Muhammad became a ruler of a state, and the intertwining of religion and state in Islam (and the idea that "politics is central" to Islam), is in contrast to the doctrine of rendering "unto Caesar what belongs to Caesar and to God what belongs to God", of Christianity, its related and neighboring religion.
Traditional political concepts in Islam which form an idealized model for Islamic rule, are based on the rule of Muhammad in Mecca (629–632 CE) and his elected or selected successors, known as rāshidūn ("rightly-guided") caliphs in Sunnī Islam, and the Imams in Shīʿa Islam. Concepts include obedience to the Islamic law (sharīʿa); the supremacy of unity, solidarity and community, over individual rights and diversity; the pledging of obedience by the ruled to rulers (al-Bayʿah), with a corresponding duty of rulers to rule justly and seek consultation (shūrā) before making decisions; and the ruled to rebuke unjust rulers. Classical Islamic political thought focuses on advice on how to govern well, rather than reflecting "on the nature of politics".