ENOfficial
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."
Source: sunnah.com
Other translations
Arabic
أَخْبَرَنَا قُتَيْبَةُ، قَالَ حَدَّثَنَا يَعْقُوبُ، عَنْ أَبِي حَازِمٍ، عَنْ أَبِي صَالِحٍ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم قَالَ " عَلَيْكَ بِالطَّاعَةِ فِي مَنْشَطِكَ وَمَكْرَهِكَ وَعُسْرِكَ وَيُسْرِكَ وَأَثَرَةٍ عَلَيْكَ " .
sunnah.com