Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
quran:7:31

O children of Adam, take your adornment at every masjid, and eat and drink, but be not excessive. Indeed, He likes not those who commit excess.  

O Children of Adam! Don your adornment, that which covers your nakedness, at every place of worship, at prayer and at the circumambulation, and eat and drink, what you want, but do not be excessive; He truly does not love those who are excessive.
القرآن:٧:٣١

يَا بَنِي آدَمَ خُذُوا زِينَتَكُمْ عِنْدَ كُلِّ مَسْجِدٍ وَكُلُوا وَاشْرَبُوا وَلَا تُسْرِفُوا ۚ إِنَّهُ لَا يُحِبُّ الْمُسْرِفِينَ  

{يا بني آدم خذوا زينتكم} ما يستر عورتكم {عند كل مسجد} عند الصلاة والطواف {وكلوا واشربوا} ما شئتم {ولا تسرفوا إنه لا يحب المسرفين}.