Yosef Karo, Translation:Shulchan Aruch — Orach Chaim 453…
“ Paragraph 4 - Regarding the wheat that is used to make the matzah used to fulfill the commandment, it is good to protect it such that no water falls on it from the time of harvesting, or at least from the time of grinding. In a pressing scenario, it is permitted to get flour from the market. ”
