The Messenger of Allah ﷺ preached and said: Abstain from avarice, for those who had been before you were annihilated due to avarice. It (avarice) commanded them to show niggardliness; it commanded them to cut off their relationship with their nearest relatives, so they cut off. It commanded them to show profligacy, so they showed it. (Using translation from Abū Dāʾūd 1698)
عَنْ رَسُولِ اللهِ ﷺ قَالَ إِيَّاكُمْ وَالشُّحَّ؛ فَإِنَّهُ أَهْلَكَ مَنْ كَانَ قَبْلَكُمْ أَمَرَهُمْ بِالْقَطِيعَةِ فَقَطَعُوا وَأَمَرَهُمْ بِالْبُخْلِ فَبَخِلُوا وَأَمَرَهُمْ بِالْفُجُورِ فَفَجَرُوا