A similar hadith is also narrated from Sayyiduna Miqdad (may Allah be pleased with him). He said: I and two companions of mine - when the severity of hunger had taken away our hearing and our sight - came to the Messenger of Allah (peace and blessings be upon him). He (peace and blessings be upon him) went to his household, and there were goats there. He (peace and blessings be upon him) said: "Set things right (milk them)," and then he narrated a similar hadith.
Hadith Referenceالمعجم الكبير للطبراني / باب الميم / 17707