The only free and comprehensive online etymological dictionary of the Spanish language
demonio m. (Noun,) "devil," "demon"
13th cent. From Latin daemonium 'id.,' borrowed from Ancient Greek δαιμόνιον (daimónion) "spirit," from δαίμων ‎(daímon) "god." From late Proto-Indo-European *deh2-i̯-mo- "divided (from the people)," from the root *deh2-i̯- "to cut" and the noun-forming suffix *-mó- (see -mo).
Indo-European
Romance
Asturian demoniu, Portuguese demónio, Galician demoño, Catalan dimoni, French demoygne, Italian demonio, Romanian demon
Balto-Slavic
Old Church Slavonic bogъ "god," Russian bog 'id.,' Polish bóg 'id.,' Slovene bọ̑g 'id.,' Old Prussian baga- 'id.'
Hellenic
Ancient Greek δαίομαι (daíomai) "divider"
Indo-Iranian
Sanskrit bhájati "to divide," bhága- "prosperity," Young Avestan baɣa- "lord"