The Messenger of Allah ﷺ said, "No people went astray after being rightly guided except that they were given to argumentation." Then the Messenger of Allah ﷺ recited this verse, "They did not present it to you except for argument. Rather, they are a contentious people" [Zukhruf 43:58].
حدثنا عبد بن حميد حدثنا محمد بن بشر العبدي ويعلى بن عبيد عن حجاج بن دينار عن أبي غالب
قال رسول الله ﷺ ما ضل قوم بعد هدى كانوا عليه إلا أوتوا الجدل ثم تلا رسول الله ﷺ هذه الآية {ما ضربوه لك إلا جدلا بل هم قوم خصمون}
Its isnad is hasan. Ibn Majah also narrated it in the Introduction, chapter on avoiding innovations and disputation, hadith 48, from the hadith of Muhammad bin Bishr Abdi with the same wording, and Hakim graded it sahih, 2/448, and Dhahabi agreed with him.