[Machine] When the Messenger of Allah ﷺ undertook the expedition of Tabuk, he left Ali behind in Medina. People criticized Ali and disliked his company. The Prophet ﷺ continued on his journey until he met Ali on the way. Ali said, "O Messenger of Allah, you left me in Medina with the weak and the women, and they criticized me and disliked my company." The Prophet ﷺ replied to him, "O Ali, I left you to take care of my family. Would you not be pleased to have the same status with me as Harun had with Musa, except that there is no Prophet after me?"
لَمَّا غَزَا رَسُولُ اللهِ ﷺ غَزْوَةَ تَبُوكَ خَلَّفَ عَلِيًّا بِالْمَدِينَةِ فَقَالُوا فِيهِ مَلَّهُ وَكَرِهَ صُحْبَتَهُ فَتَبِعَ النَّبِيَّ ﷺ حَتَّى لَحِقَهُ فِي الطَّرِيقِ فَقَالَ يَا رَسُولَ اللهِ خَلَّفْتَنِي فِي الْمَدِينَةِ مَعَ الذَّرَارِيِّ وَالنِّسَاءِ حَتَّى قَالُوا مَلَّهُ وَكَرِهَ صُحْبَتَهُ فَقَالَ لَهُ النَّبِيُّ ﷺ يَا عَلِيُّ «إِنَّمَا خَلَّفْتُكَ عَلَى أَهْلِي أَمَا تَرْضَى أَنْ تَكُونَ مِنِّي بِمَنْزِلَةِ هَارُونَ مِنْ مُوسَى؟ غَيْرَ أَنَّهُ لَا نَبِيَّ بَعْدِي»