"Ali came from collecting Zakah and the Prophet said to him: "For what have you entered Ihram, O 'Ali?' he said: 'For that for which the Messenger of Allah entered Ihram.' He said: 'Then offer the Hadi and remain in Ihram as you are.' So 'Ali offered a Hadi." (Using translation from Nasāʾī 2744)
لَهُ النَّبِيُّ ﷺ «بِمَا أَهْلَلْتَ يَا عَلِيُّ؟» قَالَ بِمَا أَهَلَّ بِهِ النَّبِيُّ ﷺ قَالَ «فَاهْدِ وَامْكُثْ حَرَامًا كَمَا أَنْتَ» قَالَ وَأَهْدَى لَهُ عَلِيٌّ هَدْيًا