The Messenger of Allah ﷺ said, "No deeds done during any other days are better than those done during these ten days."The companions asked, "Not even jihad?"He replied, "Not even jihad, except for a man who goes out risking his life and wealth and returns with nothing."
قال رسول الله ﷺ: ما العمل أيام العشر أفضل من العمل في هذه. قالوا: ولا الجهاد؟ قال: ولا الجهاد، إلا رجل خرج يخاطر بنفسه وماله، فلم يرجع بشيء.
Bukhari reported it in the Book of the Two Eids (969), from Muhammad bin Arara, who said, Shuba narrated to us, from Sulayman, from Muslim al-Batin, from Saeed bin Jubayr, from Ibn Abbas, and he mentioned it.