O my son! If it be (anything) equal to the weight of a grain of mustard seed, and though it be in a rock, or in the heavens or in the earth, Allah will bring it forth. Verily, Allah is Subtle (in bringing out that grain), Well-Aware (of its place).
O my son, establish prayer, enjoin what is right, forbid what is wrong, and be patient over what befalls you. Indeed, [all] that is of the matters [requiring] determination.
And turn not your face away from men with pride, nor walk in insolence through the earth. Verily, Allah likes not each arrogant boaster.
And be moderate in your pace and lower your voice; indeed, the most disagreeable of sounds is the voice of donkeys.
Chapter 31 Luqmān : Verses 16-19
This is useful advice which Allah tells us Luqman gave, so that people may follow it
He said: (O my son! If it be (anything) equal to the weight of a grain of mustard seed, ) means, if a wrong action or a sin be equal to the size of a grain of mustard seed. (Allah will bring it forth.) means, He will bring it forth on the Day of Resurrection, when it is placed in the Scales of justice and everyone is rewarded or punished for his actions — if they are good, he will be rewarded and if they are bad he will be punished. Even if this tiny thing were to be hidden inside a solid rock or anywhere in the heavens and the earth, Allah will bring it forth, because nothing is hidden from Him, not even the weight of a speck of dust in the heavens or on the earth. Allah says:
(Verily, Allah is Subtle, Well-Aware.) meaning, His knowledge is subtle, for nothing is hidden from Him, no matter how small, subtle and minute. (Well-Aware.) even of the footsteps of an ant in the darkest night. Then he (Luqman) said:
(O my son! Perform the Salah,) meaning, offer the prayer properly at the appointed times. (enjoin the good, and forbid the evil,) meaning, to the best of your ability and strength. (and bear with patience whatever befalls you.) Luqman knew that whoever enjoins what is good and forbids what is evil, will inevitably encounter harm and annoyance from people, so he told him to be patient. (Verily, these are some of the important commandments.) means, being patient when people cause harm or annoyance is one of the most important commandments.
(And turn not your face away from men with pride) means, `do not turn your face away from people when you speak to them or they speak to you, looking down on them in an arrogant fashion. Rather be gentle towards them and greet them with a cheerful face. (nor walk in insolence through the earth.) means, `do not be boastful, arrogant, proud and stubborn. Do not do that, for Allah will hate you.’ So he said: (Verily, Allah likes not any arrogant boaster.) meaning, one who shows off and admires himself, feeling that he is better than others.
The Command to be Moderate in Walking
(And be moderate in your walking,) means, walk in a moderate manner, neither slow and lazy nor excessively fast, but be moderate, somewhere in between these two extremes. (and lower your voice.) means, do not exaggerate in your speaking and do not raise your voice unnecessarily. Allah says: (Verily, the harshest of all voices is the braying of the asses.) Mujahid and others said, “The most ugly of voices is the voice of the donkey, i.e., when a person raises his voice, the resulting noise is like the voice of a donkey in its loudness. Moreover this is hateful to Allah. Likening a loud voice to that of a donkey implies that it is forbidden and extremely blameworthy.
The Advice of Luqman
(Luqman the Wise used to say: when something is entrusted to the care of Allah, He protects it.)
“Luqman said to his son: `Wisdom puts the poor in the company of kings.”
“Luqman said to his son: `O my son! When you come to a gathering of people, greet them with Salam, then sit at the edge of the group, and do not speak until you see that they have finished speaking. Then if they remember Allah, join them, but if they speak of anything else, then leave them and go to another group’.”