We performed Hajj-at-Tamattuʿ in the lifetime of Messenger of Allah ﷺ and then the Qur'an was revealed (regarding Hajj-at-Tamattuʿ) and somebody said what he wished (regarding Hajj-at-Tamattuʿ) according his own opinion.
تَمَتَّعْنَا عَلَى عَهْدِ رَسُولِ اللَّهِ ﷺ فَنَزَلَ الْقُرْآنُ قَالَ رَجُلٌ بِرَأْيِهِ مَا شَاءَ