1.1 Deeds are by Intentions
١۔١ الأعمال بالنيات
from Umar b. al-Khattab: "Actions are only judged by intentions...," narrated by Bukhari and Muslim.
This hadith is uniquely narrated by Yahya b. Saeed al-Ansari, from Muhammad b. Ibrahim al-Taymi, from Alqama b. Waqas al-Laythi, from Umar b. Al-Khattab ᴿᴬ, and there is no authentic chain other than this one, as stated by Ali b. Al-Madini and others. Khattabi said: I know of no disagreement among the scholars of hadith on this matter, although it has been narrated from Abu Said and others, and it was said to have been narrated through many chains, but nothing from these is considered authentic by the hadith scholars.
Many people narrated it from al-Ansari, with a large number of narrators. It is said that more than two hundred narrators reported it from him, and it is also said that seven hundred narrators transmitted it from him. Among the prominent narrators are Malik, al-Thawri, al-Awzai, Ibn al-Mubarak, al-Layth b. Sa'ad, Hammad b. Zayd, Shuba, Sufyan b. Uyaynah, and others.
Scholars have unanimously agreed on its authenticity and have accepted it. Bukhari began his book "al-Sahih" with it, using it as an introduction, implying that any deed not intended for the sake of Allah is invalid and bears no fruit either in this world or the Hereafter. Hence, Abdul Rahman b. Mahdi said: If I were to compile book chapters, I would include the hadith of Umar on intentions in every chapter. And it is reported that he said: Whoever wishes to compile a book should begin with the hadith "Deeds are ˹judged˺ by intentions."
عَنْ عُمَرَ بْنِ الخَطّابِ: «إنَّما الأعْمالُ بِالنِّيّاتِ...» رَواهُ البُخارِيُّ ومُسْلِمٌ.
هذا الحديثُ تفرَّد بروايته يحيى بنُ سعيدٍ الأنصاريُّ، عن محمَّدِ ابن إبراهيمَ التَّيميِّ، عن علقمة بن وقَّاصٍ الَّليثيِّ، عن عُمَر بن الخطَّابِ ؓ، وليس له طريق يصحُّ غير هذا الطريق، كذا قال عليُّ بنُ المدينيِّ وغيرُه. وقال الخطابيُّ: لا أعلمُ خلافًا بين أهلِ الحديثِ في ذلك، مع أنَّهُ قد رُوِي من حديث أبي سعيدٍ وغيره، وقد قيل: إنَّهُ قد رُوِي من طُرقٍ كثيرةٍ، لكن لم يصح من ذلك شيءٌ عندَ الحُفَّاظ.
ثمَّ رواهُ عنِ الأنصاريِّ الخلقُ الكثيرُ والجمُّ الغفيرُ، فقيل: رواهُ عنهُ أكثرُ مِن مئتي راوٍ، وقيل: رواه عنه سبعُ مئة راوٍ، ومِنْ أعيانهم: مالكٌ، والثوريُّ، والأوزاعيُّ، وابنُ المبارك، واللَّيثُ بنُ سعدٍ، وحمَّادُ بنُ زيدٍ، وشعبةُ، وابنُ عُيينةَ، وغيرهم.
واتَّفقَ العُلماءُ على صحَّته وَتَلَقِّيهِ بالقَبولِ، وبه صدَّر البخاريُّ كتابَه «الصَّحيح»، وأقامه مقامَ الخُطبةِ له، إشارةً منه إلى أنَّ كلَّ عملٍ لا يُرادُ به وجهُ الله فهو باطلٌ، لا ثمرةَ له في الدُّنيا ولا في الآخرةِ، ولهذا قال عبدُ الرَّحمانِ بنُ مهدي: لو صنَّفتُ الأبوابَ، لجعلتُ حديثَ عمرَ في الأعمالِ بالنِّيَّةِ في كلّ بابٍ، وعنه أنَّه قال: مَنْ أَرادَ أنْ يصنِّفَ كتابًا، فليبدأ بحديثِ «الأعمال بالنيات».