The Prophet ﷺ heard some people arguing and said, "Those before you were destroyed only because of this. They struck parts of the Book of Allah against other parts, but the Book of Allah was revealed with its parts confirming one another. So do not deny one part by means of another. Speak of what you know from it, and what you do not know, leave to those who know it."
سمع النبي ﷺ قوما يتدارؤون فقال: إنما هلك من كان قبلكم بهذا، ضربوا كتاب الله بعضه ببعض، وإنما نزل كتاب الله يصدق بعضه بعضا، فلا تكذبوا بعضه ببعض، فما علمتم منه فقولوا، وما جهلتم فكلوه على عالمه.
Narrated by Abdul-Razzaq (20367), Ahmad (6741), Bukhari in Khalq Afaal al-Ibad (218), and Baghawi in Sharh al-Sunnah (121), all of them via Mamar, from Zuhri, from Amr bin Shuayb, from his father, from his grandfather, who related it.Its chain is hasan because of the discussion surrounding Amr bin Shuayb, for his hadith is hasan.