Sunan an-Nasa'i, Volume 3, Book 24, Hadith 2726 (DarusSalam)

It was narrated that Al-Bara said: "I was with 'Ali bin Abi Talib when the Messenger of All appointed him as governor of Yemen. When he came to the Messenger of Allah, Ali said: 'I came to the Messenger of and the Messenger of Allah said: "What did you do?" I said; "I entered Ihram for that for which you entered Ihram." He said: "I have brought the Hadi and am performing Qiran" And he said to his companions: "If I had known what I know now, I would have done what you have done, but I brought the Hadi and I am performing Qiran

أَخْبَرَنِي مُعَاوِيَةُ بْنُ صَالِحٍ، قَالَ حَدَّثَنِي يَحْيَى بْنُ مَعِينٍ، قَالَ حَدَّثَنَا حَجَّاجٌ، قَالَ حَدَّثَنَا يُونُسُ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْبَرَاءِ، قَالَ كُنْتُ مَعَ عَلِيِّ بْنِ أَبِي طَالِبٍ حِينَ أَمَّرَهُ رَسُولُ اللَّهِ صلى الله عليه وسلم عَلَى الْيَمَنِ فَلَمَّا قَدِمَ عَلَى النَّبِيِّ صلى الله عليه وسلم قَالَ عَلِيٌّ فَأَتَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم فَقَالَ لِي رَسُولُ اللَّهِ صلى الله عليه وسلم ‏"‏ كَيْفَ صَنَعْتَ ‏"‏ ‏.‏ قُلْتُ أَهْلَلْتُ بِإِهْلاَلِكَ ‏.‏ قَالَ ‏"‏ فَإِنِّي سُقْتُ الْهَدْىَ وَقَرَنْتُ ‏"‏ ‏.‏ قَالَ وَقَالَ صلى الله عليه وسلم لأَصْحَابِهِ ‏"‏ لَوِ اسْتَقْبَلْتُ مِنْ أَمْرِي مَا اسْتَدْبَرْتُ لَفَعَلْتُ كَمَا فَعَلْتُمْ وَلَكِنِّي سُقْتُ الْهَدْىَ وَقَرَنْتُ ‏"‏ ‏.‏

sunnah.com