[Machine] The Messenger of Allah ﷺ said on the day of the Battle of Khaybar, "I will give the flag to a man whom Allah and His Messenger love, and Allah will grant him victory." 'Umar said, "I have never desired leadership before this day." Then he handed it to 'Ali and said, "Fight and do not turn back." 'Umar went a short distance and said, "O Messenger of Allah, why should I fight the people?" He said, "So that they bear witness that there is no god but Allah and that Muhammad is the Messenger of Allah. If they do so, then their blood and wealth are protected from me except by right, and their reckoning is with Allah."
قَالَ رَسُولُ اللهِ ﷺ يَوْمَ خَيْبَرَ «لَأَدْفَعَنَّ الرَّايَةَ إِلَى رَجُلٍ يُحِبُّهُ اللهُ وَرَسُولُهُ وَيَفْتَحُ اللهُ عَلَيْهِ» قَالَ عُمَرُ فَمَا أَحْبَبْتُ الْإِمَارَةَ قَطُّ قَبْلَ يَوْمَئِذٍ فَدَفَعَهَا إِلَى عَلِيٍّ فَقَالَ «قَاتِلْ وَلَا تَلْتَفِتْ» فَسَارَ قَرِيبًا فَقَالَ يَا رَسُولَ اللهِ عَلَامَ أُقَاتِلُ النَّاسَ؟ قَالَ «عَلَى أَنْ يَشْهَدُوا أَنَّ لَا إِلَهَ إِلَّا اللهُ وَأَنَّ مُحَمَّدًا رَسُولُ اللهِ فَإِذَا فَعَلُوا فَقَدْ عَصَمُوا دِمَاءَهُمْ وَأَمْوَالَهُمْ مِنِّي إِلَّا بِحَقِّهَا وَحِسَابُهُمْ عَلَى اللهِ»