حَدَّثَنَا جَعْفَرُ بْنُ حُمَيْدٍ الْكُوفِيُّ ، حَدَّثَنَا شَرِيكٌ ، عَنْ سِمَاكٍ ، عَنْ عِكْرِمَةَ ، عَنِ ابْنِ عَبَّاسٍ قَالَ : قَالَ رَسُولُ اللهِ - صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ - : لَا حِلْفَ فِي الْإِسْلَامِ ، وَمَا كَانَ فِي الْجَاهِلِيَّةِ لَمْ يَزِدْهُ الْإِسْلَامُ إِلَّا شِدَّةً أَوْ حِدَّةً .
It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "There is no room in Islam for any new alliance or pact (based on the tribalism of Ignorance), and as for the (just and fair) pacts that were made in the time of Ignorance, Islam has only added to their firmness and strength."
Related hadith on this topic