Sunan Abi Dawud, Book 43, Hadith 54 (Abu Dawud 4828)

Narrated Hudhayfah:

The Messenger of Allah (ﷺ) cursed the one who sat in the middle of a circle.