Language:
كتاب الحج
25  
Hajj (Pilgrimage)
(36)
Chapter: Hajj-at-Tamattu'
(36)
باب التَّمَتُّعِ عَلَى عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ
Sahih al-Bukhari 1571

Narrated `Imran:

We performed Hajj-at-Tamattu` in the lifetime of Allah's Messenger (ﷺ) 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.

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا هَمَّامٌ، عَنْ قَتَادَةَ، قَالَ حَدَّثَنِي مُطَرِّفٌ، عَنْ عِمْرَانَ ـ رضى الله عنه ـ قَالَ تَمَتَّعْنَا عَلَى عَهْدِ رَسُولِ اللَّهِ صلى الله عليه وسلم فَنَزَلَ الْقُرْآنُ قَالَ رَجُلٌ بِرَأْيِهِ مَا شَاءَ‏.‏
Reference : Sahih al-Bukhari 1571
In-book reference : Book 25, Hadith 57
USC-MSA web (English) reference : Vol. 2, Book 26, Hadith 642
  (deprecated numbering scheme)