It is narrated from Sayyiduna Khuzaymah bin Thabit (may Allah be pleased with him): "The Messenger of Allah (peace and blessings be upon him) prayed three and two rak'ahs at Muzdalifah."
Imam al-Tabarani (may Allah have mercy on him) said: This hadith was narrated by Yahya bin Sa'id al-Ansari, Shu'bah, Zuhayr and others from Adi bin Thabit, from Abdullah bin Yazid, from Abu Ayyub al-Ansari (may Allah be pleased with him). Ghaylan and Jabir al-Ju'fi differed from them and narrated it from Khuzaymah bin Thabit (may Allah be pleased with him), whereas the correct narration is the hadith of Abu Ayyub. Al-Thawri also narrated it from Adi bin Thabit, from Abdullah bin Yazid, from Abu Ayyub.
Hadith Referenceالمعجم الكبير للطبراني / باب الخاء / 3700