Musnad Ahmad 341
It was narrated from Ma`dari bin Abi Talhah al-Ya`rnari that `Umar stood up to deliver a khutbah. He praised and glorified Allah, then he mentioned the Prophet (ﷺ) of Allah  and Abu Bakr, then he said:
`I have seen a dream, in which I saw myself being pecked by a rooster twice, and I think it signals my death. The people are telling me to appoint a caliph after me. Allah will not cause His caliphate or His religion to be lost, or that with which He sent His Prophet (ﷺ). If I die, then the caliphate is to be decided by a council of these six men with whom the Messenger of Allah (ﷺ) was pleased when he died, then whichever of them you swear allegiance to, listen to him and obey. I know that there are some men then who will seek to undermine this matter, and I have sought them with these two hands of mine in support of Islam. It they do that, then those are the enemies of Allah, the misguided disbelievers. By Allah, I am not leaving behind anything of more concern to me than kalalah. I asked the Prophet (ﷺ) of Allah  about it and he never spoke to me in such a harsh manner as he did with regard to that, to such an extent that he poked me in the chest or side with his hand or his finger and said: `O `Umar: The verse at the end of Soorah an Nisa’ that was revealed in summer is sufficient for you.” If I live, I will pass a judgement concerning it that no one who reads Qur`an or who does not read Qur`an will dispute. Then `Umar said: O Allah, bear witness concerning the governors of the regions; I sent them to teach the people their religion and the Sunnah of their Prophet (ﷺ), and to divide the sai` among them, and to judge between them on a fair basis, and whatever they found difficult they were to refer to me. Then he said: O people, you eat two plants that I think are nothing but distasteful, this garlic and onion. At the time of the Messenger of Allah (ﷺ), I would see that is the smell of these things was found on a man, he would be taken by the hand and led out to al-Baqee`. Whoever must eat them, let him cook them to death.ʻUmar said this in a khutbah on Friday, and was stabbed on Wednesday 26 Dhul Hijjah.
حَدَّثَنَا مُحَمَّدُ بْنُ جَعْفَرٍ، حَدَّثَنَا سَعِيدُ بْنُ أَبِي عَرُوبَةَ، أَمَلَّهُ عَلَيَّ عَنْ قَتَادَةَ، عَنْ سَالِمِ بْنِ أَبِي الْجَعْدِ الْغَطَفَانِيِّ، عَنْ مَعْدَانَ بْنِ أَبِي طَلْحَةَ الْيَعْمَرِيِّ، أَنَّ عُمَرَ، رَضِيَ اللَّهُ عَنْهُ قَامَ خَطِيبًا فَحَمِدَ اللَّهَ وَأَثْنَى عَلَيْهِ وَذَكَرَ نَبِيَّ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَأَبَا بَكْرٍ رَضِيَ اللَّهُ عَنْهُ ثُمَّ قَالَ إِنِّي رَأَيْتُ رُؤْيَا كَأَنَّ دِيكًا نَقَرَنِي نَقْرَتَيْنِ وَلَا أُرَى ذَلِكَ إِلَّا لِحُضُورِ أَجَلِي وَإِنَّ نَاسًا يَأْمُرُونَنِي أَنْ أَسْتَخْلِفَ وَإِنَّ اللَّهَ عَزَّ وَجَلَّ لَمْ يَكُنْ لِيُضِيعَ خِلَافَتَهُ وَدِينَهُ وَلَا الَّذِي بَعَثَ بِهِ نَبِيَّهُ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَإِنْ عَجِلَ بِي أَمْرٌ فَالْخِلَافَةُ شُورَى فِي هَؤُلَاءِ الرَّهْطِ السِّتَّةِ الَّذِينَ تُوُفِّيَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَهُوَ عَنْهُمْ رَاضٍ فَأَيُّهُمْ بَايَعْتُمْ لَهُ فَاسْمَعُوا لَهُ وَأَطِيعُوا وَقَدْ عَرَفْتُ أَنَّ رِجَالًا سَيَطْعَنُونَ فِي هَذَا الْأَمْرِ وَإِنِّي قَاتَلْتُهُمْ بِيَدِي هَذِهِ عَلَى الْإِسْلَامِ فَإِنْ فَعَلُوا فَأُولَئِكَ أَعْدَاءُ اللَّهِ الْكَفَرَةُ الضُّلَّالُ وَإِنِّي وَاللَّهِ مَا أَدَعُ بَعْدِي شَيْئًا هُوَ أَهَمُّ إِلَيَّ مِنْ أَمْرِ الْكَلَالَةِ وَلَقَدْ سَأَلْتُ نَبِيَّ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ عَنْهَا فَمَا أَغْلَظَ لِي فِي شَيْءٍ قَطُّ مَا أَغْلَظَ لِي فِيهَا حَتَّى طَعَنَ بِيَدِهِ أَوْ بِإِصْبَعِهِ فِي صَدْرِي أَوْ جَنْبِي وَقَالَ يَا عُمَرُ تَكْفِيكَ الْآيَةُ الَّتِي نَزَلَتْ فِي الصَّيْفِ الَّتِي فِي آخِرِ سُورَةِ النِّسَاءِ وَإِنِّي إِنْ أَعِشْ أَقْضِ فِيهَا قَضِيَّةً لَا يَخْتَلِفُ فِيهَا أَحَدٌ يَقْرَأُ الْقُرْآنَ أَوْ لَا يَقْرَأُ الْقُرْآنَ ثُمَّ قَالَ اللَّهُمَّ إِنِّي أُشْهِدُكَ عَلَى أُمَرَاءِ الْأَمْصَارِ فَإِنِّي بَعَثْتُهُمْ يُعَلِّمُونَ النَّاسَ دِينَهُمْ وَسُنَّةَ نَبِيِّهِمْ وَيَقْسِمُونَ فِيهِمْ فَيْئَهُمْ وَيُعَدِّلُونَ عَلَيْهِمْ وَمَا أَشْكَلَ عَلَيْهِمْ يَرْفَعُونَهُ إِلَيَّ ثُمَّ قَالَ يَا أَيُّهَا النَّاسُ إِنَّكُمْ تَأْكُلُونَ مِنْ شَجَرَتَيْنِ لَا أُرَاهُمَا إِلَّا خَبِيثَتَيْنِ هَذَا الثُّومُ وَالْبَصَلُ لَقَدْ كُنْتُ أَرَى الرَّجُلَ عَلَى عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يُوجَدُ رِيحُهُ مِنْهُ فَيُؤْخَذُ بِيَدِهِ حَتَّى يُخْرَجَ بِهِ إِلَى الْبَقِيعِ فَمَنْ كَانَ آكِلَهُمَا لَا بُدَّ فَلْيُمِتْهُمَا طَبْخًا قَالَ فَخَطَبَ بِهَا عُمَرُ رَضِيَ اللَّهُ عَنْهُ يَوْمَ الْجُمُعَةِ وَأُصِيبَ يَوْمَ الْأَرْبِعَاءِ لِأَرْبَعِ لَيَالٍ بَقِينَ مِنْ ذِي الْحِجَّةِ‏.‏