Matthew 12:8-12 New International Version (NIV)

8. For the Son of Man is Lord of the Sabbath.”

9. Going on from that place, he went into their synagogue,

10. and a man with a shriveled hand was there. Looking for a reason to bring charges against Jesus, they asked him, “Is it lawful to heal on the Sabbath?”

11. He said to them, “If any of you has a sheep and it falls into a pit on the Sabbath, will you not take hold of it and lift it out?

12. How much more valuable is a person than a sheep! Therefore it is lawful to do good on the Sabbath.”

Matthew 12