Sayyiduna Sa'd bin Malik and Sayyiduna Abu Hurayrah (may Allah be pleased with them both) narrate that the Messenger of Allah (peace and blessings be upon him) said: "O Allah, grant blessing to the people of Madinah in their city, grant them blessing in their sa' (measure), and grant them blessing in their mudd. O Allah, Ibrahim (peace be upon him) was Your servant and Your close friend (khalil), and I am Your servant and Your Messenger. Ibrahim (peace be upon him) asked You for the people of Makkah, and I ask You for the people of Madinah the like of what Ibrahim (peace be upon him) asked for the people of Makkah, and as much again along with it. Indeed, Madinah is enclosed (under guard) by the angels; at every one of its passes there are two angels guarding it. Neither the plague nor the Dajjal will enter it. Whoever intends evil against it (this city), Allah Almighty will melt him away as salt dissolves in water."
The wording of both narrations is the same, except that in the narration of Imam Ahmad (may Allah have mercy on him) the words are "the two of them guard it."
Imam Muslim (may Allah have mercy on him) narrated this hadith in his Sahih, from "Whoever intends evil against it" to the end, through the narration of Zayd bin Aslam, via al-Qarraz, from Sayyiduna Sa'd bin Abi Waqqas (may Allah be pleased with him) alone.
And a similar hadith is narrated through the narration of Abu Salih from Sayyiduna Abu Hurayrah (may Allah be pleased with him), without the mention of the plague and the Dajjal; and with the mention of the Dajjal and the plague it is narrated through the narration of Nu'aym bin Abdullah from Sayyiduna Abu Hurayrah (may Allah be pleased with him).
Imam al-Daraqutni (may Allah have mercy on him) was asked about it, and he said: "Umar bin Nubayh narrates it from Abu Abdullah al-Qarraz, and he from Sayyiduna Sa'd (may Allah be pleased with him); and Muhammad bin Musa al-Madani narrated it from Abu Abdullah al-Qarraz, from Sayyiduna Abu Hurayrah (may Allah be pleased with him)."
And Usamah bin Zayd narrated it from al-Qarraz, from Sayyiduna Sa'd and Sayyiduna Abu Hurayrah (may Allah be pleased with them both). So all of these versions are sound, and Allah knows best.