عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ رَضِيَ اللَّهُ عَنْهُ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَالَ ((إِيَّاكُمْ وَمُحَقَّرَاتِ الذُّنُوبِ فَإِنَّهُنَّ يَجْتَمِعْنَ عَلَى الرَّجُلِ حَتَّى يُهْلِكْنَهُ وَإِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ ضَرَبَ لَهُنَّ مَثَلًا كَمَثَلِ قَوْمٍ نَزَلُوا أَرْضَ فَلَاةٍ فَحَضَرَ صَنِيعُ الْقَوْمِ أَيْ طَعَامُهُمْ فَجَعَلَ الرَّجُلُ يَنْطَلِقُ فَيَجِيءُ بِالْعُودِ وَالرَّجُلُ يَجِيءُ بِالْعُودِ حَتَّى جَمَعُوا سَوَادًا فَأَجَّجُوا نَارًا وَأَنْضَجُوا مَا قَذَفُوا فِيهَا))
The warning about considering minor sins insignificant: They gather upon a person to such an extent that they destroy him. Then the Prophet (peace and blessings be upon him) gave an example of these sins, saying that their example is like a people who camped in a desert, and when it was time for their meal, one man went and brought a stick, another brought a stick, until enough sticks were gathered for their needs. Then they lit a fire and cooked whatever they had to cook.