He also said—may Allah have mercy on him:
Section: The Foundations of Knowledge and Religion
Allah Most High said:
“Your allies are none but Allah, His Messenger, and those who believe,”
up to His words:
“Whoever takes Allah, His Messenger, and those who believe as allies—indeed, the party of Allah will prevail.”
He also said:
“Honor belongs to Allah, His Messenger, and the believers.”
And He said:
“Obey Allah and obey the Messenger and those in authority among you.”
The testimony recited in prayer includes:
“All greetings, prayers, and good things are for Allah. Peace be upon you, O Prophet, and Allah’s mercy and blessings. Peace be upon us and upon Allah’s righteous servants.”
These are the principles that ʿUmar ibn al-Khattāb instructed Shurayh to follow when he said: “Judge according to what is in the Book of Allah. If no ruling is found there, then according to what is in the Sunnah of the Messenger of Allah. If no ruling is found there, then according to what the people have agreed upon.” Another version reads: “Then according to the judgments of the righteous.”
Likewise, Ibn Masʿūd said:
“Whoever is asked about a matter should give a ruling according to what is in the Book of