وَعَنْ جَابِرٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «كَلَامِي لَا يَنْسَخُ كَلَامَ اللَّهِ وَكَلَامُ اللَّهِ يَنْسَخُ كَلَامِي وَكَلَامُ اللَّهِ يَنْسَخُ بعضه بَعْضًا»
Translation

He also reported God's messenger as saying, “My words do not abrogate God’s words, but God’s words abrogate mine, some of His words abrogate others.”Daraqutni transmitted it.