Wasting time falls under the category of vain, useless act. It's not outrightly prohibited, but it is a thing needs to be avoided to attain “true success”. One’s time is the period for work, either to achieve eternal happiness in the hereafter or to cause oneself destruction and misery.