Jami` at-Tirmidhi, Book 47, Hadith 3323 (In-Book)

Narrated Abu 'Ubaidah: "The Messenger of Allah said: 'When the Children of Isra'il fell into decline, a man among them would see his brother committing a sin, and prohibit them from it. The next day, what he saw him doing would not prevent him from eating with him, drinking with him, and associating with him. So Allah pitted their hearts against each other, and He revealed about them in the Qur'an, He said: Those among the Children of Isra'il who disbelieved were cursed by the tongue of Dawud and 'Eisa, son of Mariam. That was because they disobeyed and were ever transgressing.' And he recited until he reached: 'And had they believed in Allah, and in the Prophet, and in what has been revealed to him, never would they have taken them as friends; but many of them are rebellious (5:78-81).' He said: "And Allah's Prophet was reclining, so he sat up and said: 'No! Not until you take the hand of the wrong-doer and incline him toward the truth.'"

حَدَّثَنَا بُنْدَارٌ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ، حَدَّثَنَا سُفْيَانُ، عَنْ عَلِيِّ بْنِ بَذِيمَةَ، عَنْ أَبِي عُبَيْدَةَ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ إِنَّ بَنِي إِسْرَائِيلَ لَمَّا وَقَعَ فِيهِمُ النَّقْصُ كَانَ الرَّجُلُ فِيهِمْ يَرَى أَخَاهُ عَلَى الذَّنْبِ فَيَنْهَاهُ عَنْهُ فَإِذَا كَانَ الْغَدُ لَمْ يَمْنَعْهُ مَا رَأَى مِنْهُ أَنْ يَكُونَ أَكِيلَهُ وَشَرِيبَهُ وَخَلِيطَهُ فَضَرَبَ اللَّهُ قُلُوبَ بَعْضِهِمْ بِبَعْضٍ وَنَزَلَ فِيهِمُ الْقُرْآنُ فَقَالَ ‏:‏ ‏(‏ لُعِِنَ الَّذِينَ كَفَرُوا مِنْ بَنِي إِسْرَائِيلَ عَلَى لِسَانِ دَاوُدَ وَعِيسَى ابْنِ مَرْيَمَ ذَلِكَ بِمَا عَصَوْا وَكَانُوا يَعْتَدُونَ ‏)‏ ‏"‏ ‏.‏ فَقَرَأَ حَتَّى بَلَغَ ‏:‏ ‏(‏وَلَوْ كَانُوا يُؤْمِنُونَ بِاللَّهِ وَالنَّبِيِّ وَمَا أُنْزِلَ إِلَيْهِ مَا اتَّخَذُوهُمْ أَوْلِيَاءَ وَلَكِنَّ كَثِيرًا مِنْهُمْ فَاسِقُونَ ‏)‏ قَالَ وَكَانَ نَبِيُّ اللَّهِ صلى الله عليه وسلم مُتَّكِئًا فَجَلَسَ فَقَالَ ‏"‏ لاَ حَتَّى تَأْخُذُوا عَلَى يَدَىِ الظَّالِمِ فَتَأْطِرُوهُ عَلَى الْحَقِّ أَطْرًا ‏"‏ ‏.‏

sunnah.com