Restrain yourself patiently with those who call upon their Lord morning and evening, desiring His face. Do not turn your eyes from them, desiring the attractions of this world. And do not obey someone whose heart We have made neglectful of Our remembrance, who follows his own whims and desires, and whose life has transgressed all bounds.
(Surat al-Kahf, 28)
This verse points out the importance of always calling upon Allah, every morning and evening, seeking only His good pleasure. Prayer is a great gift, for it is a way to draw closer to Allah. People can pray at any time of day and wherever they are. Allah reveals the value of prayer in: Say: "What has My Lord to do with you if you do not call upon Him?" (Surat al-Furqan, 77). In another verse, He informs people that:
If My servants ask you about Me, I am near. I answer the call of the caller when he calls upon Me. Therefore, they should respond to Me and believe in Me, so that hopefully they will be rightly guided. (Surat al-Baqara, 186)
The verse then reminds people once more that this world's temporary possessions should not affect them, because life in this world is no more than a trial. Surat al-Kahf reveals why this world's desirable commodities (e.g., houses, cars, yachts, mansions, gold, silver, and fashionable clothes) were created:
We made everything on Earth adornment for it so that We could test them to see whose actions are the best. (Surat al-Kahf, 7)
After a specific number of years, each person will find himself or herself suddenly appearing before Allah on the Day of Judgment, for life passes rather quickly. Allah reminds us of this reality: "These people love this fleeting world and have put the thought of a Momentous Day behind their backs" (Surat al-Insan, 27). The life of the Hereafter, which many people neglect while living in this world, is an eternal reality that no one can escape. This is why being led astray by this world's temporary attractions and thus forgetting the eternal life in the Hereafter is such a serious mistake. Allah reveals that:
The life of this world is nothing but a game and a diversion. The Hereafter is better for those who guard against evil. So will you not use your intellect? (Surat al-An`am, 32)
Know that the life of this world is merely a game and a diversion, an ostentation and a cause of boasting among yourselves, and trying to outdo one another in wealth and children, like the plant-growth after rain that delights the cultivators, but then withers and you see it turning yellow, and then it becomes broken stubble. In the Hereafter, there is terrible punishment but also forgiveness from Allah and His good pleasure. The life of this world is nothing but the enjoyment of delusion. (Surat al-Hadid, 20)
Further on in the same verse, the importance of the believers being together is stated. Remembering Allah, praying to Him, and doing everything for His good pleasure is the behavior of all devout believers. The vital need of being together with them, with people who remember Allah at all times, is obvious. Believers derive many benefits from spending time with one another, for they remind each other of the Qur'an's verses and remember Allah, and are less likely to miss prayers or be led astray, which has a greater chance of happening when people are alone or during times when such meetings are rare. They recite Allah's name together, advise people to do good and avoid evil, and benefit from one another in terms of knowledge and culture. Engaging in such activities will enable them to live in an atmosphere of joy, contentment, purity, trust, and safety. The believers' relationship with each other is described in the following verse:
The believing men and women are friends of one another. They command what is right and forbid what is wrong, establish prayer and give alms, and obey Allah and His Messenger. They are the people upon whom Allah will have mercy. Allah is Almighty, All-Wise. (Surat at-Tawba, 71)
On the other hand, staying with unbelievers has many negative aspects. For example, such people are always slandering and displaying aggression toward Allah and the believers' sacred values, voicing their animosity, and mocking the believers. Allah forbids the believers to be in such an environment:
It has been sent down to you in the Book that when you hear Allah's Signs being rejected and mocked by people, you must not sit with them until they start talking of other things. If you do, you are just the same as them. Allah will gather all the hypocrites and unbelievers into Hell. (Surat an-Nisa', 140)
Another negative aspect of being together with unbelievers, who chase after their base instincts and keep away from Allah's word, is the probability that those with weak faith will be influenced in a negative way. Devout Muslims who have strong faith, Allah willing, cannot be influenced by unbelievers; however, those believers who are new Muslims or who do not yet completely live the Qur'an's morality, can be influenced by the unbelievers' misleading conversation and display of knowledge, and even end up following their example. If this happens, they are the losers in both this world and the next.