Luke 6:3
Jesus answered them, have you never read what David did when he and his companions were hungry? — the appeal to the David precedent is the response to the Sabbath challenge. Have you never read positions the questioners as failing to understand their own Scripture. The David story (1 Samuel 21:1–6) is the precedent for necessity overriding ritual restriction.