assalamu aleykom wa rahmatullah wa barakatuhu. this is a somewhat odd question but, i've read quotes here that say that it is better to be a Muslim that exists in society and mixes themself up with everybody than to be a recluse, however i also read quotes saying that it is better to turn away from the world and it'll follow you. which is better? is there a middle ground? what to do?
Alaikumassalam wa rahmatullah wa barakatuh,
The advice is to not be attached to the world, seeking worldly things like wealth, fame and praise. But once you lose that attachment, it is recommended to remain in contact with others so that they may benefit from your companionship and help. Be like the Prophet , having a good social life without being attached to worldly things.