[Machine] The Messenger of Allah ﷺ commanded us to do seven things and forbade us from doing seven things. He forbade us from wearing a gold ring or a gold necklace, using silver utensils, wearing silk, using scented oils, using al-henna (a type of dye), using al-istabraq (a type of perfume), and using al-mitharah (a type of perfume). He commanded us to do seven things: visiting the sick, following funeral processions, returning greetings, blessing a person who sneezes, responding to invitations, supporting the oppressed, and fulfilling promises. This is the wording of the hadith of al-Khwarizmi and the hadith of Abu Abdullah with the same meaning.
أَمَرَنَا رَسُولُ اللهِ ﷺ بِسَبْعٍ وَنَهَانَا عَنْ سَبْعٍ نَهَانَا عَنْ خَاتَمِ الذَّهَبِ أَوْ حَلْقَةِ الذَّهَبِ وَعَنْ آنِيَةِ الْفِضَّةِ وَعَنْ لِبْسِ الْحَرِيرِ وَالدِّيبَاجِ وَالْإِسْتَبْرَقِ وَالْمِيثَرَةِ وَالْقَسِّيِّ وَأَمَرَنَا بِسَبْعٍ أَمَرَنَا بِعِيَادَةِ الْمَرِيضِ وَاتِّبَاعِ الْجَنَائِزِ وَرَدِّ السَّلَامِ وَتَشْمِيتِ الْعَاطِسِ وَإِجَابَةِ الدَّاعِي وَنَصْرِ الْمَظْلُومِ وَإِبْرَارِ الْقَسَمِ لَفْظُ حَدِيثِ الْخُوَارِزْمِيِّ وَحَدِيثِ أَبِي عَبْدِ اللهِ بِمَعْنَاهُ