In one narration the wording is: I heard the Prophet (peace and blessings be upon him) say: "The best of this ummah is the generation in which I was sent, in which I am present; then the generation of those after them, then the generation of those after them, then the generation of those after them. Then there will be people whose testimony will precede their oath and whose oath will precede their testimony."
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب المناقب / 16403