This hadith has been narrated on the authority of Mansur with the same chain of transmitters (and the words are): "He who performed Pilgrimage but neither spoke indecently nor acted wickedly."
Hadith ReferenceSahih Muslim / The Book of Pilgrimage / Hadith: 1350