The Book of the Merits of the Companions
حَدَّثَنَا أَبُو الرَّبِيعِ الْعَتَكِيُّ، حَدَّثَنَا حَمَّادٌ، عَنْ أَيُّوبَ، عَنْ أَبِي عُثْمَانَ النَّهْدِيِّ، عَنْ أَبِي مُوسَى الأَشْعَرِيِّ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم دَخَلَ حَائِطًا وَأَمَرَنِي أَنْ أَحْفَظَ الْبَابَ . بِمَعْنَى حَدِيثِ عُثْمَانَ بْنِ غِيَاثٍ .This hadith has been transmitted on the authority of Abu Musa al-Ash'ari with a slight variation of wording
From Sahih Muslim, whose reports the scholars accept as authentic.