The Conduct of a Student of Knowledge
Imam Abu Bakr Ahmad ibn Ali, known as al-Khatib al-Baghdadi (may Allah have mercy on him), said:
It is necessary for a student of knowledge to avoid play, idle pursuits, and foolish behaviour in gatherings. He should stay away from clowning, loud laughter, and strange antics. Going beyond the limit in joking, and spending all of one’s time on it, is also not correct, because the amount of joking that is permissible is the small amount: a fitting smile on an occasion, and an expression of joy at a fine remark, provided it does not go beyond the bounds of proper manners and stays within the manner and method of knowledge.
As for joking that continues without pause, gives rise to obscene speech and improper behaviour, or kindles the fire of anger in someone’s heart, and whose outcome is nothing but evil, such joking is undoubtedly blameworthy. Excessive laughter and joking, in any case, causes a decrease in a person’s dignity and is contrary to manliness (muruwwah).