Abdullah bin Masud reported,

The Prophet ﷺ said, "The best of people are my generation, then those who follow them, then those who follow them. Then there will come a people whose testimony precedes their oath and whose oath precedes their testimony."Ibrahim said, "They used to strike us for giving testimony or making a covenant."

Azami 6741

Sahih

عن عبد الله بن مسعود

عن النبي ﷺ قال: خير الناس قرني، ثم الذين يلونهم، ثم الذين يلونهم، ثم يجئ أقوام: تسبق شهادة أحدهم يمينه، ويمينه شهادته قال إبراهيم: وكانوا يضربوننا على الشهادة والعهد.

الأعظمي 6741صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Judgeship
Chapter
Testimonies
Section
Condemnation of hastening to give testimony before being asked for it
Numbering
Jami al-Kamil 6741 (2nd edition)
Azami 6741