What I have learned is that the Qur-ān as well as the Sunnah contains things that are abrogated. What comes to mind is that Imām al-Shāfi’i mentioned in his famous book called al-Risāla (this book is translated into English), that Qur-ān is only abrogated by the Qur-ān and that the Sunnah is only abrogated by the Sunnah. Wonderful isn’t it!?
What takes me to this subject is because I arrived at a fiqh subject that revolves around if there needs to be a wudu upon eating food which was warmed/touched by fire. This has been abrogated as ibn Hazm states in his Muhalla, except for camel meat. But he concludes on camel meat that when one forgets to make wudu after eating camel meat unintentionally, that he is excused based on this passage in the Qur-ān:
وَلَيْسَ عَلَيْكُمْ جُنَاحٌ فِيمَا أَخْطَأْتُم بِهِ
…And there is no sin on you concerning that in which you made a mistake… [33:5]