Sunan Ibn Majah 255
It was narrated from Ibn 'Abbas that:
The Prophet ﷺ said: "There will be some people among my Ummah (nation) who will gain knowledge of the religion, and they will recite Qur'an, and will say: 'We come to the rulers so that we may have some share of their worldly wealth, and we will make sure that our religious commitment is not affected,' but that will not be the case. Just as nothing can be harvested from the Qatad except thorns, so nothing can be gained from being close to them except (sins).'" (Da'if)(One of the narrators) Muhammed bin As-Sabbah said: "It is as if he meant, 'except sins'."
حَدَّثَنَا مُحَمَّدُ بْنُ الصَّبَّاحِ، أَنْبَأَنَا الْوَلِيدُ بْنُ مُسْلِمٍ، عَنْ يَحْيَى بْنِ عَبْدِ الرَّحْمَنِ الْكِنْدِيِّ، عَنْ عُبَيْدِ اللَّهِ بْنِ أَبِي بُرْدَةَ، عَنِ ابْنِ عَبَّاسٍ، عَنِ النَّبِيِّ ﷺ قَالَ " إِنَّ أُنَاسًا مِنْ أُمَّتِي سَيَتَفَقَّهُونَ فِي الدِّينِ وَيَقْرَءُونَ الْقُرْآنَ وَيَقُولُونَ نَأْتِي الأُمَرَاءَ فَنُصِيبُ مِنْ دُنْيَاهُمْ وَنَعْتَزِلُهُمْ بِدِينِنَا . وَلاَ يَكُونُ ذَلِكَ كَمَا لاَ يُجْتَنَى مِنَ الْقَتَادِ إِلاَّ الشَّوْكُ كَذَلِكَ لاَ يُجْتَنَى مِنْ قُرْبِهِمْ إِلاَّ " . قَالَ مُحَمَّدُ بْنُ الصَّبَّاحِ كَأَنَّهُ يَعْنِي الْخَطَايَا .