Jabir bin Abdullah reported,

The Prophet ﷺ ordered Ali to remain in his state of ihram. Muhammad bin Bakr added in his narration from Ibn Jurayj, who said that Ata said that Jabir said, Ali bin Abu Talib رضي الله عنه arrived from his collection mission, and the Prophet ﷺ asked him, "What did you enter ihram for, Ali?"Ali replied, "For the same as what the Prophet ﷺ entered ihram for."The Prophet ﷺ said, "Then offer a sacrificial animal and remain in ihram as you are."Ali brought him a sacrificial animal.

Bukhari 4352

Sahih

حدثنا المكي بن إبراهيم عن ابن جريج قال عطاء

قال جابر

أمر النبي ﷺ عليا أن يقيم على إحرامه زاد محمد بن بكر عن ابن جريج قال عطاء قال جابر فقدم علي بن أبي طالب رضي الله عنه بسعايته قال له النبي ﷺ بم أهللت يا علي قال بما أهل به النبي ﷺ قال فأهد وامكث حراما كما أنت قال وأهدى له علي هديا

البخاري 4352صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Expeditions
Chapter
Dispatch of Ali bin Abu Talib عليه السلام and Khalid bin Walid to Yemen before the Farewell Pilgrimage
Numbering
Darussalam 4352
Bukhari 4352