BAYHAQI 4062:
from Abū Hurayrah ؓ —
[Machine] The Messenger of Allah ﷺ said, "They (the scholars) pray for you. If they are correct, it is for you and for them, and if they are mistaken, it is on you and on them, except for the statement of Abu Khaythamah who did not mention Ibn Dinar, and Abdur Rahman ibn Abdullah al-Madani said..."
البيهقي ٤٠٦٢:
عن ابو هريره ؓ —
قَالَ رَسُولُ اللهِ ﷺ يُصَلُّونَ لَكُمْ فَإِنْ أَصَابُوا فَلَكُمْ وَلَهُمْ وَإِنْ أَخْطَئُوا فَلَكُمْ وَعَلَيْهِمْ لَفْظُ حَدِيثِهِمَا سَوَاءٌ إِلَّا أَنَّ أَبَا خَيْثَمَةَ لَمْ يَذْكُرِ ابْنَ دِينَارٍ وَقَالَ عَبْدُ الرَّحْمَنِ بْنُ عَبْدِ اللهِ الْمَدَنِيُّ
hadithunlocked.com