that the Messenger of Allah ﷺ dispatched an army and he put 'Ali bin Abi Talib in charge of it. He left on the expedition and he entered upon a female slave. So four of the Companions of the Messenger of Allah ﷺ scolded him, and they made a pact saying: "[If] we meet the Messenger of Allah ﷺ we will inform him of what 'Ali did." When the Muslims returned from the journey, they would begin with the Messenger of Allah ﷺ and give him Salam, then they would go to their homes. So when the expedition arrived, they gave Salam to the Prophet ﷺ, and one of the four stood saying: "O Messenger of Allah! Do you see that 'Ali bin Abi Talib did such and such." The Messenger of Allah ﷺ turned away from him. Then the second one stood and said as he said, and he turned away from him. Then the third stood before him, and said as he said, and he turned away from him. Then the fourth stood and said as they had said. The Messenger of Allah ﷺ faced him, and the anger was visible on his face, he said: "What do you want from 'Ali?! What do you want from 'Ali?! What do you want from 'Ali?! Indeed 'Ali is from me, and I am from him, and he is the ally of every believer after me." (Using translation from Tirmidhī 3712)
بَعَثَ رَسُولُ اللهِ ﷺ جَيْشًا وَاسْتَعْمَلَ عَلَيْهِمْ عَلِيَّ بْنَ أَبِي طَالِبٍ فَمَضَى فِي السَّرِيَّةِ فَأَصَابَ جَارِيَةً فَأَنْكَرُوا عَلَيْهِ وَتَعَاقُدُوا أَرْبَعَةً مِنْ أَصْحَابِ رَسُولِ اللهِ ﷺ إِذَا لَقِينَا رَسُولَ اللهِ ﷺ أَخْبَرْنَاهُ بِمَا صَنَعَ وَكَانَ الْمُسْلِمُونَ إِذَا رَجَعُوا مِنَ السَّفَرِ بَدَءُوا بِرَسُولِ اللهِ ﷺ فَسَلَّمُوا عَلَيْهِ ثُمَّ انْصَرَفُوا إِلَى رِحَالِهِمْ فَلَمَّا قَدِمَتِ السَّرِيَّةُ سَلَّمُوا عَلَى النَّبِيِّ ﷺ فَقَامَ أَحَدُ الْأَرْبَعَةِ فَقَالَ يَا رَسُولَ اللهِ «أَلَمْ تَرَ إِلَى عَلِيِّ بْنِ أَبِي طَالِبٍ صَنَعَ كَذَا وَكَذَا؟» فَأَعْرَضَ عَنْهُ رَسُولُ اللهِ ﷺ ثُمَّ قَامَ يَعْنِي الثَّانِي فَقَالَ مِثْلَ ذَلِكَ ثُمَّ الثَّالِثُ فَقَالَ مِثْلَ مَقَالَتِهِ ثُمَّ قَامَ الرَّابِعُ فَقَالَ مِثْلَ مَا قَالُوا فَأَقْبَلَ إِلَيْهِمْ رَسُولُ اللهِ ﷺ وَالْغَضَبُ فِي وَجْهِهِ فَقَالَ «مَا تُرِيدُونَ مِنْ عَلِيٍّ؟ إِنَّ عَلِيًّا مِنِّي وَأَنَا مِنْهُ وَهُوَ وَلِيُّ كُلِّ مُؤْمِنٍ مِنْ بَعْدِي»