Sahih Muslim, Book 32, Hadith 142 (Muslim 4620)

A similar tradition has been narrated through a different chain of transmitters by Ibn Shihab with the addition of the words:

" Before Abdullah (b. Ubayy) became a Muslim."