Nahj al-Balāgha
Hadith 151فَلْتَكُنِ الدُّنْيَا أَصْغَرَ في أَعْيُنِكُمْ مِنْ حُثَالَةِالْقَرَظِ وَقُرَاضَةِ الْجَلَمِ وَاتّعِظُوا بِمَنْ كَانَ قَبْلَكُمْ قَبْلَ أَنْ يَتَّعِظَ بِكُمْ مَنْ بَعْدَكُمْ؛ وَارْفُضُوهَا ذَمِيمَةً، فَإِنَّهَا قَد رَفَضَتْ مَنْ كَانَ أَشْغَفَ بِهَا مِنْكُمْ.
The world in your eyes should be smaller than the bark of acacia and the clippings of wool. Seek instruction from those who preceded you before those who follow you take instruction from you, and keep aloof from it realising its evil because it cuts off even from those who were more attached to it than you.