Devarim / Deuteronomy 27:6 · Drash
אֲבָנִים שְׁלֵמוֹת תִּבְנֶה אֶת־מִזְבַּח יְהוָה אֱלֹהֶיךָ וְהַעֲלִיתָ עָלָיו עוֹלֹת לַיהוָה אֱלֹהֶיךָ׃
Of whole stones you shall build the altar of the Eternal your Almighty, and you shall offer burnt offerings on it to the Eternal your Almighty.
Drash דְּרָשׁ
Stones that bring peace
You made peace between two friends, and no one ever found out. It seems a small thing. The midrash teaches how highly the Torah values the one who brings peace.
Rabban Yochanan ben Zakkai: the whole stones of the altar bring peace between people and their Father in heaven. So they are kept from iron. If this is said of stones that neither see nor hear, then one who brings peace between people will all the more have his days lengthened.
How Midrash Tanchuma explain it
Midrash Tanchuma Of whole stones you shall build
Rabban Yochanan ben Zakkai says: it says "of whole (שְׁלֵמוֹת) stones you shall build", of stones that bring peace (שָׁלוֹם) between Israel and their Father in heaven. And this is a conclusion from light to weighty: if of the altar stones, which do not see, hear or speak, the Torah said "do not lift iron over them" (Devarim / Deuteronomy 27:5) because they bring peace, then one who brings peace between a person and his fellow, between husband and wife, all the more will his days and years be lengthened.
Takeaway
"Whole" (שְׁלֵמוֹת) and "peace" (שָׁלוֹם) share the root ש־ל־ם, "wholeness". The midrash reads whole stones as stones of peace.
Iron, from which swords are made, is the opposite of the altar, which brings peace. The Mishnah says: iron was made to shorten a person's life, the altar to lengthen it (Mishnah Middot 3:4).
A conclusion from light to weighty (קַל וָחֹמֶר): what holds for the small holds all the more for the great. If so for stones, all the more for a person.