Sunan an-Nasa'i, Book 45, Hadith 2 (Nasa'i 4717)

Abu Salamah and Sulaiman bin Yasar narrated from one of the Companions of the Messenger of Allah, one of the Ansar, that:

the Messenger or Allah approved of Qasamah as it had been during the Jahiliyyah.