Co-written and originally recorded by Shorty Long (1964).
Hit version (as “Devil with the Blue Dress/Good Golly Miss Molly”) by Mitch Ryder & The Detroit Wheels (US #4 1966).
From the wiki: “‘Devil with the Blue Dress On’ (also known as ‘Devil with a Blue Dress On’) was a song written by Shorty Long and William ‘Mickey’ Stevenson, first performed by Long (as a slow jam) and released as Shorty Long’s debut single on Motown in 1964 but the single failed to chart. Two years later, Mitch Ryder & The Detroit Wheels covered the song as a medley with a cover of Little Richard’s ‘Good Golly Miss Molly’. The Wheels’ version was notably more up-tempo than Long’s more blues-influenced rendition. Reaching #4 on the Hot 100, the Wheels’ track would end up becoming the group’s most well-known and highest-charting hit in the United States.