Yosef Karo, Translation:Shulchan Aruch — Orach Chaim 454…
“ Paragraph 4 - One does not fulfill his obligation with stolen matzo. This is limited to stolen matzo, but if one steals wheat or flour and makes matzo, he can fulfill his obligation with it, because he acquired it by changing it, and he only owes money. (Regarding a blessing, see below at the beginning of chapter 649.) סעיף ד - אין אדם יוצא ידי חובתו במצה גזולה. במה דברים אמורים, כשגזל מצה, אבל אם גזל חטים או קמח ועשאו מצה, יוצא בה, שקנאה בשנוי, ודמים לבד הוא חיב לו. ”
