The Messenger of Allah ﷺ said, "There are no days in which righteous deeds are more beloved to Allah than these days," meaning the ten days of Dhul-Hijjah.They asked, "Messenger of Allah, not even striving in the path of Allah?"He replied, "Not even striving in the path of Allah, except for a man who goes out with his life and his wealth and returns with nothing of either."
حدثنا أبو معاوية حدثنا الأعمش عن مسلم البطين عن سعيد بن جبير
قال رسول الله ﷺ ما من أيام العمل الصالح فيها أحب إلى الله عز وجل من هذه الأيام يعني أيام العشر قال قالوا يا رسول الله ولا الجهاد في سبيل الله قال ولا الجهاد في سبيل الله إلا رجلا خرج بنفسه وماله ثم لم يرجع من ذلك بشيء
Its chain of transmission is sahih. Bukhari, Tirmidhi, Abu Dawud, and Ibn Majah narrated it, as mentioned in Targheeb wal-Tarheeb: 2:124. The Ten Days are the first ten days of Dhul-Hijjah.