It is narrated from Abu Nu'aym that he heard Ubadah bin al-Samit (may Allah be pleased with him) say that the Prophet (peace and blessings be upon him) said: "Do you recite with me in the prayer?" We said: Yes. He (peace and blessings be upon him) said: "Do not recite anything except Surah al-Fatihah."
Abu Bakr bin al-Harith al-Faqih informed us that Ali bin Umar al-Hafiz told us that Ibn Sa'id said: I think this is an error. Abu Nu'aym was only the mu'adhdhin; it is not as al-Walid said.
This is an error; Abu Nu'aym was the mu'adhdhin and the imam, and the hadith is from Makhul from Mahmud bin al-Rabi' from Ubadah, and from Makhul from Nafi' bin Mahmud from Ubadah, so it seems he heard it from both of them.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2919