Sahih Muslim, Book 27, Hadith 83 (Muslim 4297)

This hadith has been narrated through another chain of transmitters (and the words are):

" A person from among the Ansar willed away the freedom of six slaves of his at the time of his death."