If you attend a study-session, behave only like someone who wishes to increase his knowledge and to win greater recompense from God. Do not behave like someone who is content with what he has, who is looking for some fault to criticise or a curious detail to hawk around. This would be the behaviour of vile men who never succeed in their studies.
If you come to it with good intentions, you will always obtain the best results. Otherwise, to stay at home would be less tiring for your body, more worthy of your moral conduct and more salutary for your religious life.
Extract from Al-Akhlâq wal-Siyar (Morals and Behaviour) By Ibn Hazm al-Andalusi