The Messenger of Allah ﷺ said, "Beware of wrongdoing, for wrongdoing will be darkness upon darkness on the Day of Resurrection. And beware of greed, for greed destroyed those who came before you. It drove them to shed each other's blood and to violate what was sacred among them."
أن رسول الله ﷺ قال: اتقوا الظلم، فإن الظلم ظلمات يوم القيامة، واتقوا الشح، فإن الشح أهلك من كان قبلكم، حملهم على أن سفكوا دماءهم، واستحلوا محارمهم.
Muslim narrated it in the Book of Righteousness and Kinship Ties (2578) from Abdullah bin Maslama bin Qanab, who said, "Dawud, meaning Ibn Qays, narrated to us, from Ubaydullah bin Miqsam, from Jabir bin Abdullah," and he related it.