Hadithcore
Sunan Abi Dawud, 4944
sahih· Al-Albani

Tamim al-Dari reported the Prophet (ﷺ) as saying; Religion conduct; religion consists in sincere conduct. The people asked; to whom should it be directed, Messenger of Allah? He replied :

To Allah, his book, his Messenger, the leaders (public authorities) of the believers and all the believers, and the leaders (public authorities) of Muslim and the Muslims and the Muslims in general.

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

References2 variants
In-Book Reference
Book 43, Hadith 172
English Reference
Book 42, Hadith 4926