The Messenger of Allah ﷺ came out to us and asked, "Do you know which deeds are most beloved to Allah ?"One person said, "Prayer and almsgiving."Another said, "Jihad."He said, "The most beloved of deeds to Allah
is to love for the sake of Allah and to hate for the sake of Allah."
حدثنا حسين حدثنا يزيد يعني ابن عطاء عن يزيد يعني ابن أبي زياد عن مجاهد عن رجل
خرج إلينا رسول الله ﷺ فقال أتدرون أي الأعمال أحب إلى الله عز وجل قال قائل الصلاة والزكاة وقال قائل الجهاد قال إن أحب الأعمال إلى الله عز وجل الحب في الله والبغض في الله
No references are available.
Its chain of transmission is daif, due to the unknown identity of the narrator from Abu Dharr. The hadith was narrated in this manner by Abu Dawud, 4/198, no. 4599, in the chapter on the Sunnah, avoiding the people of desires, and Munziri attributed it to both of them in Targheeb, 4/24.