A time should be devoted (to the worldly affairs) and time should be devoted (to worship)
Hanzalah Al-Usayyidi ( May Allah be pleased with him ) who was one of the scribes of Messenger of Allah ( may the peace and blessings of Allah be upon him ), reported:
I met Abu Bakr ( May Allah be pleased with him ) he said: "How are you O Hanzalah?" I said, "Hanzalah has become a hypocrite". He said, "Far removed is Allah from every imperfection, what are you saying?" I said, "When we are in the company of Messenger of Allah ( may the peace and blessings of Allah be upon him ) and he reminds us of Hell-fire and the Paradise, we feel as if we are seeing them with our very eyes, and when we are away from the Messenger of Allah ( may the peace and blessings of Allah be upon him ), we attend to our wives, our children, our business, most of these things (pertaining to the Hereafter) slip out of our minds." Abu Bakr ( May Allah be pleased with him ) said, "By Allah, I also experience the same thing". So Abu Bakr (May Allah be pleased with him) and I went to the Messenger of Allah ( may the peace and blessings of Allah be upon him ) and I said to him, "O Messenger of Allah, Hanzalah has turned hypocrite." Thereupon Messenger of Allah ( may the peace and blessings of Allah be upon him ) said, "What has happened to you?" I said, "O Messenger of Allah, when we are in your company, and are reminded of Hell-fire and the Paradise, we feel as if we are seeing them with our own eyes, but when we go away from you and attend to our wives, children and business, much of these things go out of our minds." Thereupon the Messenger of Allah ( may the peace and blessings of Allah be upon him ) said, "By Him in Whose Hand is my life if your state of mind remains the same as it is in my presence and you are always busy in remembrance (of Allah), the angels will shake hands with you in your beds and in your roads; but Hanzalah, a time should be devoted ( to the worldly affairs ) and time should be devoted (to worship)". He (the Prophet ( may the peace and blessings of Allah be upon him )) said this thrice.
[Muslim]
One of the Islamic principles that we should understand is that any legitimate worldly affair turns to be an act of obedience to Allah, may He be glorified and exalted, and a reason for His reward if one did it sincerely for the sake of Allah out of seeking his reward even if this deed is related to the worldly life like eating or drinking or having sexual relationship with one`s wife.
The Messenger of Allah ( may the peace and blessings of Allah be upon him) said: "By Him in Whose Hand is my life if your state of mind remains the same as it is in my presence and you are always busy with the remembrance (of Allah), the angels will shake hands with you in your beds and in your roads."
That is, you would have been like the angels in being committed to devotion and total abandonment of the worldly affairs without looking at what suits your natures, and what rectifies your affairs, as well as the affairs of your dependents of women and children, it would be possible for the Angels to shake hands with you because you become of different nature which is similar to the nature of the Angels that is the ultimate devotion.
The Prophet ( may the peace and blessings of Allah be upon him ) said: “but Hanzalah, a time should be devoted ( to the worldly affairs ) and time should be devoted (to worship)”.
This valuable commandment teaches us to stick to justice in everything, especially in the division of times according to the rights and duties.
That is to say, but make a time for your Lord, and a time for your body, and a time for your family, according to your capacity. The Prophet ( may the peace and blessings of Allah be upon him ) repeated this statement three times; as a confirmation of what should be done, so as to leave no room for hesitation and puzzlement, and to free the liability of this noble companion from hypocrisy. Since he does what the other good people do.
The Prophet ( may the peace and blessings of Allah be upon him ) warned his companions against the excesses of religion, being extremists in words and deeds, and depriving themselves of the good things in this life.
Entertaining oneself is one of the necessities of life. It is indispensable but should be only with the good lawful things and the best ways that do not contradict with the virtuous morals of those who believe in Allah and His Messenger.
The conclusion of this commandment is that Islam is a religion that expresses the familiar reality, and responds to the needs of man without extremism; it is the religion of moderation, with no excessiveness or negligence, It is obligatory on the Muslim to be fair in dividing his time between the acts of worship and the permissible customs.