It is forbidden to put salt in the matzah, because the salt heats the dough, and likewise peppers. And such is the simple custom, and one must not change it. And even post facto – it is forbidden. And so wrote the Mordechai, that one who eats salted matzah is like one who eats chametz, see there. However, if a grain of salt fell into the dough – one need not forbid it, for this grain will not leaven it, and he should only be careful to bake it immediately. And if he kneaded the matzah with some black cumin and sesame seeds and types of spices that are not sharp – one need not forbid the matzah, since it has the taste of matzah. Nevertheless, for the matzah of the mitzvah – one does not fulfill his obligation with it, for this is not "bread of affliction." And in any case, ab initio it is forbidden to put any spices in the dough, because they have a bit of sharpness, and they heat the dough. And only salt and peppers are forbidden even post facto. And there is one who says that regarding pepper – even a single grain heats the entire dough, and likewise lime is similar to this (Magen Avraham, subsection 19). And this is when it was kneaded within it, but if it fell upon the dough – he should remove it (ibid.). And likewise ginger, and cloves, and saffron which they call "zafran" – they are very sharp, and they forbid even with a small amount of them when kneaded into the dough (ibid.).
אסור ליתן מלח במצה, מפני דהמלח מחמם העיסה, וכן פלפלין. וכן המנהג הפשוט, ואין לשנות. ואפילו בדיעבד – אסור. וכן כתב המרדכי דהאוכל מצה מלוחה – כאוכל חמץ, עיין שם. אמנם אם נפל גרגיר מלח לתוך העיסה – אין לאסרה, דזה הגרגיר לא תחמצה, ורק יזהר לאפותה מיד. ואם לש המצה (בקצח) [בקצת] ושומשמים ומיני תבלין שאינן חריפים – אין לאסור המצה, כיון שיש בה טעם מצה. ומיהו למצת מצוה – אין יוצאין בה, דאין זה "לחם עוני". ומכל מקום לכתחילה אסור ליתן בהעיסה שום תבלין, לפי שיש בהם קצת חידוד, ומחממין העיסה. ורק מלח ופלפלין גם בדיעבד אסור. ויש מי שאומר דפלפל – אפילו קורט אחד מחממת כל העיסה, וכן סיד כיוצא בזה (מגן אברהם סעיף קטן יט). וזהו כשנלוש בתוכו, אבל נפל על העיסה – יסלקנו (שם). וכן זנגבי"ל, ונעגעלא"ך, וכרכום שקורין זאפרע"ן – הם חדים מאוד, ואוסרים אפילו במעט מהם כשנלוש בהעיסה (שם).