Bava Metzia8: 9
הַמַּשְׂכִּיר בַּיִת לַחֲבֵרוֹ וְנָפַל — חַיָּב לְהַעֲמִיד לוֹ בַיִת. הָיָה קָטָן — לֹא יַעֲשֶׂנּוּ גָדוֹל; גָּדוֹל — לֹא יַעֲשֶׂנּוּ קָטָן; אֶחָד — לֹא יַעֲשֶׂנּוּ שְׁנַיִם; שְׁנַיִם — לֹא יַעֲשֶׂנּוּ אֶחָד; לֹא יִפְחֹת מֵהַחַלּוֹנוֹת וְלֹא יוֹסִיף עֲלֵיהֶן — אֶלָּא מִדַּעַת שְׁנֵיהֶם.
[If] one rented a house to another, and it collapsed, he is required to provide him with a house. [If] it was small, he may not make it large; [if it was] large, he may not make it small; [if it was] one, he may not make it two; [if it was] two, he may not make it one; [and] he may not decrease the [number of] windows, nor may he add to them —- except by common agreement.