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:17:27

Indeed, the wasteful are brothers of the devils, and ever has Satan been to his Lord ungrateful.  

Indeed squanderers are brothers of devils, that is, they follow their way, and the Devil was ever ungrateful to his Lord, extremely rejective of His graces: likewise his brother the squanderer.
القرآن:١٧:٢٧

إِنَّ الْمُبَذِّرِينَ كَانُوا إِخْوَانَ الشَّيَاطِينِ ۖ وَكَانَ الشَّيْطَانُ لِرَبِّهِ كَفُورًا  

{إن المبذرين كانوا إخوان الشياطين} أي على طريقتهم {وكان الشيطان لربه كفورا} شديد الكفر لنعمه فكذلك أخوه المبذر.