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

I found her and her people prostrating to the sun instead of Allah, and Satan has made their deeds pleasing to them and averted them from ˹His˺ way, so they are not guided,  

I found her and her people prostrating to the sun instead of God, and Satan has adorned for them their deeds and he has barred them from the Way, from the path of truth, so that they are not guided
القرآن:٢٧:٢٤

وَجَدْتُهَا وَقَوْمَهَا يَسْجُدُونَ لِلشَّمْسِ مِنْ دُونِ اللَّهِ وَزَيَّنَ لَهُمُ الشَّيْطَانُ أَعْمَالَهُمْ فَصَدَّهُمْ عَنِ السَّبِيلِ فَهُمْ لَا يَهْتَدُونَ  

{وجدتها وقومها يسجدون للشمس من دون الله وزيَّن لهم الشيطان أعمالهم فصدَّهم عن السبيل} طريق الحق {فهم لا يهتدون}.