"Now Korach took." What is written above on this matter? "Speak to the children of Israel [and say to them] that they make for themselves tassels" (Numbers 15:38). Korach said to Moses our teacher: Moses, a prayer shawl (tallit) that is entirely blue, what is the rule — is it exempt from the tassel? Moses said to him: It is obligated in the tassel. Korach said to him: A prayer shawl that is entirely blue does not exempt itself, yet four threads exempt it? A house that is full of scrolls, what is the rule — is it exempt from the mezuzah? He said to him: It is obligated in the mezuzah. He said to him: The whole Torah has two hundred and seventy-five passages (parashot) in it, and they do not exempt the house, yet the two passages that are in the mezuzah exempt the house? He said to him: These matters you were not commanded concerning them; rather, you are inventing them out of your own heart. This is what is written: "Now Korach took."
Korach Challenges Moses on the All-Blue Tallit and the Mezuzah
Midrash Tanchuma Buber, Korach 4:1
ויקח קרח. מה כתיב למעלה מן הענין, דבר אל בני ישראל [ואמרת אליהם] ועשו להם ציצית (במדבר טו לח), א"ל קרח למשה רבינו, משה טלית שכולה תכלת, מהו שתהא פטורה מן הציצית, א"ל משה חייבת בציצית, א"ל קרח טלית שכולה תכלת אינה פוטרת עצמה, וארבעה חוטין פוטרין אותה, בית שמלא ספרים, מהו שיהא פטור מן המזוזה, א"ל חייב במזוזה, א"ל כל התורה כולה רע"ה פרשיות יש בה, ואינן פוטרות את הבית, ושתי פרשיות שבמזוזה פוטרות את הבית, א"ל דברים אלו לא נצטוית עליהם, אלא מלבך את בודאם, הדה הוא דכתיב ויקח קרח.