عَنْ أَبِي أُمَامَةَ عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ:" إِنَّ اللَّهَ فَضَّلَنِي عَلَى الْأَنْبِيَاءِ أَوْ قَالَ: فَضَّلَ أُمَّتِي عَلَى الْأُمَمِ وأحلَّ لنا الْغَنَائِم ". رَوَاهُ التِّرْمِذِيّ
Translation

Ibn 'Abbas said that the Prophet got his sword Dhul Fiqar as private booty at the battle of Badr. Ibn Majah transmitted it, and Tirmidhi added that it was that about which he had the vision at the battle of Uhud.