بسم الله الرحمن الرحيم
The following words of advice are from the well known kitaab ‘Bidayatul Hidayah‘ by Imam Abu Hamid ibn Muhammad Al-Ghazali (رحمه الله):
THE ETIQUETTE OF THE STUDENT
If you are a student, then the manners of a student with the teacher are:
 to be the first to greet and offer salutation of peace;
 not to speak too much in his presence;
 not to speak unless asked something by the teacher;
 not to ask questions without first seeking permission;
 not to say, in contradiction to what he has said, “So-and-so [e.g., another scholar] says something different from what you say”;
 not to point out something contrary to his opinion, thinking himself more learned than the teacher;
 not to whisper to another student in his gathering;
 not to look around, but rather to sit with good manners, eyes downcast, as though in ritual prayer;
 not to burden him [with questions] when he is tired or weary;
 to stand when he stands [out of respect];
 not to follow him from the gathering, talking to him and asking him questions;
 not to ask him questions on the way to his home until he reaches there [and grants permission];
 and not to form a bad opinion of him regarding actions that appear, outwardly, to be blameworthy, for he knows better about his own personal affairs.
Let [the student] recall the words of Moses to Khidr (peace be upon them both): “He said, ‘Have you made a hole [in the boat] to drown the owners of it? Indeed, you have done a peculiar thing!'” (Qur’an 18:71). Mistaken was he in his condemnation of Khidr’s actions, because he relied on their outward appearance.
['Bidayatul Hidayah' (The Beginning of Guidance), page 132]
May Allah Ta’ala enable us all to learn, understand and implement theses qualities in our lives. Allahumma Ameen.