Sahih Muslim Book 53, Hadith 78
This hadith has been transmitted on the authority of 'Iyad b. Himar that Allah's Messenger (ﷺ) gave an address one day. The rest of the hadith is the same.
This hadith has been narrated on the authority of Qatada with the same chain of transmitters but with a slight variation of wording.
" Allah revealed to me that we should be humble amongst ourselves and none should show pride upon the others, And it does not behove one to do so, and He also said: There are among you people to follow not caring a bit for their family and property. Qatada said: Abu Abdullah, would this happen? Thereupon he said: Yes. By Allah, I found this in the days of ignorance that a person grazed the goat of a tribe and did not find anyone but their slave-girl (and he did not spare her) but committed adultery with her.