Hudhayfah said, "The companions of the Prophet ﷺ used to ask him about good, but I would ask him about evil."He was asked, "Why did you do that?"He replied, "Whoever guards against evil falls into good."
حدثنا وكيع عن سفيان عن عطاء بن السائب
قال حذيفة كان أصحاب النبي ﷺ يسألونه عن الخير وكنت أسأله عن الشر قيل لم فعلت ذلك قال من اتقى الشر وقع في الخير
No references are available.
Its isnad is sahih, and it is part of a hadith narrated by Nasai in Fadail Quran, no. 58, and Ibn Majah, 2/1317, no. 3981.