Mujahid (may Allah have mercy on him) said: "When people differ about a matter, then see what Sayyiduna Umar (may Allah be pleased with him) did, and adopt that."
Hadith Referenceفضائل الصحابة / فضائل أمير المؤمنين عمر بن الخطاب رضي الله عنه / 349
Hadith Gradingمحدثین:إسناده صحيح إلى مجاهد
Hadith Takhrij«حکم الحدیث فضائل الصحابہ محققاً تنسیق وصي الله بن محمد عباس - مکتبہ شاملہ :قال وصي الله عباس: اسناده صحيح إلى مجاهد. وانظر ٣٤٢. . » «تقدم تخريجه في رقم: 342»
It is narrated from Ibrahim (may Allah have mercy on him) that he said: "When Sayyiduna Umar and Sayyiduna Abdullah (may Allah be pleased with them both) agreed on something, no other opinion would be preferred over their opinion."
Hadith Referenceفضائل الصحابة / فضائل أمير المؤمنين عمر بن الخطاب رضي الله عنه / 350
Hadith Gradingمحدثین:إسناده حسن إلى ابراهيم
Hadith Takhrij«حکم الحدیث فضائل الصحابہ محققاً تنسیق وصي الله بن محمد عباس - مکتبہ شاملہ :قال وصي الله عباس: اسناده حسن إلى ابراهيم وهو النخعي. . » «كتاب العلل لاحمد بن حنبل: 91/2»