Then this is an issue in which the people have disagreed concerning, disagreement being either in its entirety or disagreement of its present state. The reality of the matter is that: mixing is at times obligatory or recommended. The individual may be commanded with mixing with the people on occasions yet on other occasions (commanded) with seclusion. What comprises this is that; in the issue of mixing, if there is found in it co-operation upon righteousness and Taqwaa then it is something that he has been commanded with. And if there is found in it the co-operation of sinfulness and transgression then it is something that he has been prohibited from.
So the mixing with the Muslims in the types of worship such as the five daily prayers and the Friday prayer and the two Eids and the eclipse prayer and the prayer for rain and the like, then that is from that which Allaah and His Messenger have commanded.
Likewise mixing with them during the Hajj and when making military expeditions against the disbelievers and the renegade Khawaarij, even if the leaders be evil-doers, and even if there are in those groups evil-doers.
Likewise in the gatherings in which the servant increases through them in Eemaan, whether it is for his own taking benefit from them or his giving benefit with regards to them and its like.
Yet there are times in which the servant must retire and be secluded, at times of his supplication and his remembrance and his prayer and his contemplation and his reckoning of his self and rectification of his heart. As well as the affairs which are particular to him in which no one else partakes in other than him. So these require for him to be alone by himself, either: In his home as was mentioned by Tawoos:
What an excellent cell/hermitage is the home of a man; he restrains in it his sight and his tongue.
Or in other than his home.
Thus the choice of absolute mixing/socialising is an error; and the choice of absolute isolation/seclusion is also an error.
As for the degree of what each individual requires from this and that, as well as that which is more beneficial for him in every circumstance;* then this requires its own particular review as has preceded.
* Wahb bin Munabbih (rahimahullaah) said: 'The believer socialises - in order to know; and is silent - in order to be safeguarded; and speaks - in order to understand; and secludes away - in order to become enriched.'
[See siyar A'laam an-nubalaa vol.4 page 551] (Translators note)