what is the guiding rules for islam based on the example of muhammad called

The guiding rules for Islam based on the example of Muhammad are called the Sunnah and Hadith. The Sunnah refers to the teachings, actions, and approvals of Prophet Muhammad that serve as a model for Muslims to follow in their daily lives. It includes his sayings and actions as recorded by his companions. The Hadith, on the other hand, refers to the collection of statements and actions of the Prophet as narrated by his companions. Both Sunnah and Hadith guide Muslims on matters of personal conduct, ethics, spirituality, worship, family, social interactions, and governance. They serve as a source of wisdom and legislation that complement the teachings of the Quran.