It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Allah, the Mighty and Majestic, says: 'I do not look into the right of My servant until My servant first looks into My right.'"
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 12866