Musnad Ahmad 858
Grading supplied with this record: Qawi (Darussalam), Muslim (1978)]
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
It was narrated that Mansoor bin Hayyan said: I heard ‘Amir bin Wathilah say: it was said to "Ali bin Abi Talib (رضي الله عنه).
Tell Us of something that the Messenger of Allah (ﷺ) told you in secret. He said: The Messenger of Allah did not say anything to me in secret and conceal it from the people, but I heard him say: "May Allah curse the one who reviles his parents, may Allah curse the one who changes the boundary markers, and may Allah curse the one who gives refuge to an offender.”
Full reference and source
Musnad Ahmad 858 Arabic/English book : Book 5, Hadith 858
View source on Sunnah.com (opens in a new tab)