Al-Adab Al-Mufrad, Book 28, Hadith 487 (English)

Abu Hurayra reported that the Prophet, may Allah bless him and grant him peace, said, "Beware of injustice. Injustice will appear as darkness on the Day of Rising. Beware of coarseness. Allah does not love those who are coarse and foul mouthed. Beware of avarice for it destroyed those before you. They cut off their relatives. Allah summoned them and they made lawful what was unlawful."

حَدَّثَنَا مُسَدَّدٌ، قَالَ‏:‏ حَدَّثَنَا يَحْيَى، عَنِ ابْنِ عَجْلاَنَ، عَنْ سَعِيدِ بْنِ أَبِي سَعِيدٍ الْمَقْبُرِيِّ، عَنْ أَبِي هُرَيْرَةَ، عَنِ النَّبِيِّ صلى الله عليه وسلم قَالَ‏:‏ إِيَّاكُمْ وَالظُّلْمَ، فَإِنَّ الظُّلْمَ ظُلُمَاتٌ يَوْمَ الْقِيَامَةِ، وَإِيَّاكُمْ وَالْفُحْشَ، فَإِنَّ اللَّهَ لاَ يُحِبُّ الْفَاحِشَ الْمُتَفَحِّشَ، وَإِيَّاكُمْ وَالشُّحَّ، فَإِنَّهُ دَعَا مَنْ كَانَ قَبْلَكُمْ فَقَطَعُوا أَرْحَامَهُمْ، وَدَعَاهُمْ فَاسْتَحَلُّوا مَحَارِمَهُمْ‏.‏

sunnah.com