Sahih Bukhari | Volume 4 | Hadith Number 800

Narrated by Ibn Mas'ud
The Prophet said, "Soon others will be preferred to you, and there will be things which you will not like." The companions of the Prophet asked, "O Allah's Apostle! What do you order us to do (in this case)? " He said, "(I order you) to give the rights that are on you and to ask your rights from Allah."