This is very useful advice, which the Qur'an tells us about Luqman. Many other proverbs and words of advice were also narrated from him, some examples of which we will quote below, as basic principles: Imam Ahmad recorded that Ibn `Umar said, "The Messenger of Allah said:
«إِنَّ لُقْمَانَ الْحَكِيمَ كَانَ يَقُولُ: إِنَّ اللهَ إِذَا اسْتَوْدَعَ شَيْئًا حَفِظَه»
(Luqman the Wise used to say: when something is entrusted to the care of Allah, He protects it.) It was narrated that As-Sari bin Yahya said: "Luqman said to his son: `Wisdom puts the poor in the company of kings.''' It was also narrated that `Awn bin `Abdullah said: "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'.''
﴿أَلَمْ تَرَوْاْ أَنَّ اللَّهَ سَخَّرَ لَكُمْ مَّا فِى السَّمَـوَتِ وَمَا فِى الاٌّرْضِ وَأَسْبَغَ عَلَيْكُمْ نِعَمَهُ ظَـهِرَةً وَبَاطِنَةً وَمِنَ النَّاسِ مَن يُجَـدِلُ فِى اللَّهِ بِغَيْرِ عِلْمٍ وَلاَ هُدًى وَلاَ كِتَـبٍ مُّنِيرٍ - وَإِذَا قِيلَ لَهُمُ اتَّبِعُواْ مَآ أَنزَلَ اللَّهُ قَالُواْ بَلْ نَتَّبِعُ مَا وَجَدْنَا عَلَيْهِ ءَابَآءَنَا أَوَلَوْ كَانَ الشَّيْطَـنُ يَدْعُوهُمْ إِلَى عَذَابِ السَّعِيرِ ﴾
(20. See you not that Allah has subjected for you whatsoever is in the heavens and whatsoever is on the earth, and has completed and perfected His graces upon you, apparent and hidden Yet of mankind is he who disputes about Allah without knowledge or guidance or a Book giving light!) (21. And when it is said to them: "Follow that which Allah has sent down,'' they say: "Nay, we shall follow that which we found our fathers (following).'' Even if Shaytan invites them to the torment of the Fire)