It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that he said: "Indeed Allah, the Mighty and Majestic, looked into the hearts of the servants and found the heart of Muhammad (peace and blessings be upon him) the best of the hearts of the servants. Then, after the heart of Muhammad (peace and blessings be upon him), He looked into the hearts of the servants and found the hearts of his (peace and blessings be upon him) Companions the best of the hearts of the servants, so He chose them for His religion; they fight for His religion. So whatever the Muslims regard as good is good with Allah as well, and whatever they regard as bad is bad with Allah as well."
Hadith Referenceالمعجم الأوسط / باب الزاي / 3602
Hadith Takhrij«قال الدارقطني: يرويه عاصم واختلف عنه فرواه أبو بكر بن عياش وابن عيينة عن عاصم عن زر عن عبد الله وخالفهما المسعودي وحمزة الزيات فروياه عن عاصم عن أبي وائل عن عبد الله وخالفهم نصير بن أبي الأشعث رواه عن عاصم عن المسيب بن رافع ومسلم بن صبيح عن عبد الله ورواه الأعمش واختلف عنه فقال عبد السلام بن حرب عن الأعمش عن شقيق عن عبد الله وقال ابن عيينة عن الأعمش عن مالك بن الحارث عن عبد الله «العلل الواردة في الأحاديث النبوية، ج 5، ص 66»» «أخرجه الحاكم فى «المستدرك» برقم: 4491، وأحمد فى «مسنده» برقم: 3670، والطيالسي فى «مسنده» برقم: 243، والبزار فى «مسنده» برقم: 1701، 1815، والطبراني فى «الكبير» برقم: 8583، 8582، 8593»