Jami` at-Tirmidhi, Book 43, Hadith 23 (Tirmidhi 2828)

Narrated Abu Miljaz:

that a man sat in the middle of a circle so Hudhaifah said: "Cursed upon the tongue of Muhammad - or - Cursed, by Allah upon the tongue of Muhammad (ﷺ), is he who sits in the middle of a the circle."