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

Sunan Abi Dawud Book 43, Hadith 54