Sunan an-Nasa'i, Volume 5, Book 39, Hadith 4160 (DarusSalam) ⓘ
It was narrated from Abu Hurairah that the Messenger of Allah said: "You have to obey when you feel energetic and when you feel tired, during your ease and your hardship, and when others are preferred over you."
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا يَعْقُوبُ، عَنْ أَبِي حَازِمٍ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " عَلَيْكَ بِالطَّاعَةِ فِي مَنْشَطِكَ وَمَكْرَهِكَ وَعُسْرِكَ وَيُسْرِكَ وَأَثَرَةٍ عَلَيْكَ " .
also referenced under: Hadith 4155 (Reference) & Book 39, Hadith 7 (In-Book)