Sahih al-Bukhari 7340
Sahih al-Bukhari · Book 96: Holding Fast to the Qur'an and Sunnah · The religious learned men should not differ
Narrated Anas:
حَدَّثَنَا مُسَدَّدٌ ، حَدَّثَنَا عَبَّادُ بْنُ عَبَّادٍ ، حَدَّثَنَا عَاصِمٌ الأَحْوَلُ ، عَنْ أَنَسٍ ، قَالَ حَالَفَ النَّبِيُّ صلى الله عليه وسلم بَيْنَ الأَنْصَارِ وَقُرَيْشٍ فِي دَارِي الَّتِي بِالْمَدِينَةِ. وَقَنَتَ شَهْرًا يَدْعُو عَلَى أَحْيَاءٍ مِنْ بَنِي سُلَيْمٍ
The Prophet (ﷺ) brought the Ansar and the Quarish people into alliance in my house at Medina, and he invoked Allah for one month against the tribe of Bani Sulaim in (the last rak`a of each compulsory) prayer.