The Messenger of Allah ﷺ said, "Allah has placed the truth upon Umar's tongue and in his heart."Ibn Umar said, "No matter ever befell the people about which they spoke and Umar spoke," or he said, "Ibn al-Khattab spoke," (the doubt is from Kharijah,) "except that the Quran was revealed concerning it in accordance with what Umar had said."
حدثنا محمد بن بشار حدثنا أبو عامر العقدي حدثنا خارجة بن عبد الله عن نافع
أن رسول الله ﷺ قال إن الله جعل الحق على لسان عمر وقلبه وقال ابن عمر ما نزل بالناس أمر قط فقالوا فيه وقال فيه عمر أو قال ابن الخطاب فيه شك خارجة إلا نزل فيه القرآن على نحو ما قال عمر
[Sahih] Ahmad also reported it 2/95 from Abu Amir through the same route, and Ibn Hibban graded it sahih, no. 2185. The hadith has corroborating narrations in Ibn Hibban, no. 2184 and elsewhere.On this subject there are also narrations from Fadl bin Abbas [Bukhari in Tarikh al-Kabir 7/114], Abu Dharr [Abu Dawud, no. 2962, and Ibn Majah, no. 108], and Abu Hurairah [Ahmad 2/401 and Ibn Hibban, no. 2184].