The synoptic gospels portray Jesus exorcising at sunset just after he had healed the mother of Peter's wife, in Matthew 8:16–17, Mark 1:32–34 and Luke 4:40–41.
The accounts in the Gospels of Mark and Luke report events taking place on the Sabbath.
Jesus had compassion on the mass of people in his presence because he identified with the pain and suffering they were going through even though he was not subject to the afflictions himself.
The supernatural power flowing out of Jesus provided evidence of him being the foretold Messiah of Israel as prophesied by the Isaiah the prophet.
The Pulpit Commentary suggests that the events did take place on the evening of the Sabbath, the "original connexion [being] preserved, as it seems, in Mark and Luke" and lost in Matthew.