Matthew 12:3-4

12:3 He said to them, “Haven’t you read what David did when he and his companions were hungry – 12:4 how he entered the house of God and they ate the sacred bread, which was against the law for him or his companions to eat, but only for the priests?

Mark 2:25-27

2:25 He said to them, “Have you never read what David did when he was in need and he and his companions were hungry – 2:26 how he entered the house of God when Abiathar was high priest and ate the sacred bread, which is against the law for any but the priests to eat, and also gave it to his companions?” 2:27 Then he said to them, “The Sabbath was made for people, not people for the Sabbath.

Luke 6:3-4

6:3 Jesus answered them, “Haven’t you read what David did when he and his companions were hungry – 6:4 how he entered the house of God, took and ate the sacred bread, which is not lawful for any to eat but the priests alone, and gave it to his companions?”