Hadithcore
Musnad Ahmad 2445
graded

It was narrated that Ibn ‘Abbas (رضي الله عنه) said:

The Messenger of Allah (ﷺ) acquired his sword Dhul-Faqar as booty on the day of Badr and it was the one concerning which he saw a dream on the day of Uhud. He said: “I saw a dent in my sword Dhul-Faqar and I interpreted it as some harm that will reach you. I dreamt that I seated a ram behind me on my mount and I interpreted it as meaning that a main man in the army would be killed. I dreamt that I was wearing strong armour, and I interpreted it as referring to Madinah. I saw cattle being slaughtered [in my dream]; to see cattle slaughtered is better, by Allah; to see cattle slaughtered is better, by Allah." And what the Messenger of Allah (ﷺ) said is what happened.

References1 variant
Arabic/English book
Book 25, Hadith 2445