Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:3607Muḥammad b. al-Muthanná > Yaḥyá b. Saʿīd > Ismāʿīl > Qays > Ḥudhayfah

My companions learned (something about) good (through asking the Prophet) while I learned (something about) evil.  

البخاري:٣٦٠٧حَدَّثَنِي مُحَمَّدُ بْنُ الْمُثَنَّى قَالَ حَدَّثَنِي يَحْيَى بْنُ سَعِيدٍ عَنْ إِسْمَاعِيلَ حَدَّثَنِي قَيْسٌ عَنْ حُذَيْفَةَ ؓ قَالَ

تَعَلَّمَ أَصْحَابِي الْخَيْرَ وَتَعَلَّمْتُ الشَّرَّ