Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
muslim:344ʿUbaydullāh b. Muʿādh al-ʿAnbarī > al-Muʿtamir from my father > Abū al-ʿAlāʾ b. al-Shikhhīr

The Messenger of Allah ﷺ abrogated some of his commands by others, just as the Qur'an abrogates some part with the other.  

مسلم:٣٤٤حَدَّثَنَا عُبَيْدُ اللَّهِ بْنُ مُعَاذٍ الْعَنْبَرِيُّ حَدَّثَنَا الْمُعْتَمِرُ حَدَّثَنَا أَبِي حَدَّثَنَا أَبُو الْعَلاَءِ بْنُ الشِّخِّيرِ قَالَ

كَانَ رَسُولُ اللَّهِ ﷺ يَنْسَخُ حَدِيثُهُ بَعْضُهُ بَعْضًا كَمَا يَنْسَخُ الْقُرْآنُ بَعْضُهُ بَعْضًا  


See similar narrations below:

Collected by Suyūṭī