أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا اللَّيْثُ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ أَبِي الْخَيْرِ، عَنْ أَبِي الْخَطَّابِ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، قَالَ كَانَ رَسُولُ اللَّهِ صلى الله عليه وسلم عَامَ تَبُوكَ يَخْطُبُ النَّاسَ وَهُوَ مُسْنِدٌ ظَهْرَهُ إِلَى رَاحِلَتِهِ فَقَالَ ‏"‏ أَلاَ أُخْبِرُكُمْ بِخَيْرِ النَّاسِ وَشَرِّ النَّاسِ إِنَّ مِنْ خَيْرِ النَّاسِ رَجُلاً عَمِلَ فِي سَبِيلِ اللَّهِ عَلَى ظَهْرِ فَرَسِهِ أَوْ عَلَى ظَهْرِ بَعِيرِهِ أَوْ عَلَى قَدَمِهِ حَتَّى يَأْتِيَهُ الْمَوْتُ وَإِنَّ مِنْ شَرِّ النَّاسِ رَجُلاً فَاجِرًا يَقْرَأُ كِتَابَ اللَّهِ لاَ يَرْعَوِي إِلَى شَىْءٍ مِنْهُ ‏"‏ ‏.‏

It was narrated that Abu Sa'eed Al-Khudri said: "in the year of Tabuk, the Messenger of Allah (PBUH) addressed the people, while leaning against his mount. He said: 'Shall I not tell you of the best of the people and the worst of the people? Among the best of the people is a man who strives in the cause of Allah on the back of his horse, or on the back of his camel, or on his own two feet, until death comes to him. And among the worst of the people, is an immoral man (Fajir) who reads the Book of Allah but he does not refrain from doing anything bad because of it.'" Translation Not Available

Book Ref: Sunan An Nisai Book 25 Hadith 3106
Web Ref:  Sunan An Nisai Vol 1 Book 25 Hadith 3108