It is narrated from Hazrat Hudhaifa (may Allah be pleased with him) that the companions of the Holy Prophet (peace and blessings of Allah be upon him) used to ask him about good, and I used to ask him about evil. Someone asked the reason for this, so he said: Whoever avoids evil, indeed he does good deeds.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 23390
Hadith Gradingحکم دارالسلام:صحيح، وهذا إسناد منقطع، رواية أبى البختري عن حذيفة مرسلة، لكنه توبع