Al-Tirmidhi attributes to Ibn Abbas the tradition that Muhammad acquired the sword on the day of Badr, after he had seen it in a dream concerning the day of Uhud.