[Machine] His grandfather was 'Umayr ibn Habib ibn Khumashah. He pledged allegiance to the Prophet ﷺ in a dream and advised his son, saying, "Beware of keeping company with foolish people, as their company is a disease. Whoever avoids being deluded by foolish people will be content with his patience, and whoever loves them will regret it. Whoever does not accept a small harm from a fool will accept a great harm. Whoever endures what he dislikes will attain what he loves. And when one of you wants to command good or prohibit evil, let him be patient in the face of harm and have faith in the reward from Allah, for whoever has faith in the reward from Allah will not be affected by harm."
أَنَّ جَدَّهُ عُمَيْرَ بْنَ حَبِيبِ بْنِ خُمَاشَةَ كَانَتْ لَهُ صُحْبَةٌ بَايَعَ النَّبِيَّ ﷺ عِنْدَ احْتِلَامِهِ وَأَوْصَى وَلَدَهُ فَقَالَ «إِيَّاكَ وَمُجَالَسَةَ السُّفَهَاءِ فَإِنَّ مُجالَسَتَهُمْ دَاءٌ مَنْ تَحَلَّمَ عَنِ السَّفِيهِ يُسَرُّ بِحِلْمِهِ وَمَنْ يُحِبَّهُ يَنْدَمْ وَمَنْ لَا يُقِرَّ بِالْقَلِيلِ مِمَّا يَأْتِي بِهِ السَّفِيهُ يُقَرَّ بِالْكَثِيرِ وَمَنْ يَصْبِرْ عَلَى مَا يَكْرَهُ يُدْرِكْ مَا يُحِبُّ وَإِذَا أَرَادَ أَحَدُكُمْ أَنْ يَأْمُرَ بِمَعْرُوفٍ أَوْ يَنْهَى عَنْ مُنْكَرٍ فَلْيُوَطِّنْ نَفْسَهُ بِالصَّبِرِ عَلَى الْأَذَى ولْيَثِقْ بِالثَّوَابِ مِنَ اللهِ ﷻ فَإِنَّهُ مَنْ يَثِقْ بِالثَّوَابِ مِنَ اللهِ لَا يَجِدُ مَسَّ الْأَذَى»