It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that he said: We were talking among ourselves when the Messenger of Allah (peace and blessings be upon him) came out to us and asked: "What is this secret talk? Did I not forbid you from secret talk?" We said: "Tubna ila Allah (We repent to Allah), O Prophet of Allah! We were only talking about the Masih (al-Dajjal) and became frightened of him (and his trial)." He (peace and blessings be upon him) said: "Shall I not tell you of something which I fear for you more than the Masih (al-Dajjal)?" We said: "Certainly, O Messenger of Allah." He (peace and blessings be upon him) said: "It is hidden shirk: that a man stands and performs a deed merely because of another man's presence (for show)."
I say: Imam Ibn Majah and Imam al-Bayhaqi (may Allah have mercy on them both) recorded it in abridged form through the same route of Rubayh (may Allah have mercy on him). The word "Rubayh" has a dammah on the ra', a fathah on the ba', then a ya', and at the end an undotted ha'.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب العلم / 399
Hadith Gradingمحدثین:إسناده ضعيف؛ للين كثير بن زيد وربيح بن عبد الرحمن، والحديث حسن لغيره
Hadith Takhrij«أخرجه سنن ابن ماجه برقم: 4204، وأخرجه مسند أحمد برقم: 10859، وأخرجه المستدرك على الصحيحين برقم: 8006، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 1764، 14236»