(יז) ואת כל שללה, לרבות נכסי רשעים שבחוצה לה. (Devarim 13:17) "And all of its spoil": to include the property of the wicked (found) outside of it.
אל תוך רחבה, אין לה רחוב עושים לה רחוב "into the midst of its square": If it has no square, one is made for it.
היה רחוב חוצה לה מנין שכונסים אותו לתוכה תלמוד לומר אל תוך רחובה. If its square were outside of it, whence is it derived that it is gathered within it? From "into the midst of its square."
ושרפת באש את העיר ואת כל שללה, ולא שלל שמים מיכן אמרו אילנות המחוברים מותרים והתלושים אסורים בורות שיחים ומערות וכתבי הקודש מותרים שנאמר שללה ולא שלל שמים דבר אחר שללה ולא שלל שמים "and you shall burn with fire the city and all of its spoil": and not the spoil of Heaven
מיכן אמרו ההקדשות שבתוכה יפדו תרומות ירקבו מעשר שני וכתבי הקודש יגנזו. — whence it was ruled: Its consecrated objects are to be redeemed; its terumoth are to be left to spoil; its ma'aser sheni and holy writings are to be secreted.
כליל לה' אלהיך והיתה תל עולם, וכן הוא אומר (יהושע ו כו) וישבע יהושע בעת ההיא לאמר ארור האיש לפני ה' אשר יקום ובנה את העיר הזאת את יריחו, וכי אין אנו יודעים שיריחו שמה אלא שלא יבנו אותה ויקראו שמה עיר אחרת ושלא יבנו עיר אחרת ויקראו שמה יריחו, "entirely, for the L-rd your G-d": If you execute judgment against a condemned city, I shall account it to you as if you sacrificed a burnt-offering "entirely" before Me. "And it shall be a heap forever": And thus is it written of Jericho (Joshua 26:6) "And Joshua swore … Cursed is the man … who shall arise and rebuild the city, Jericho." Do we not know that Jericho is its name? The intent is, rather, that it not be rebuilt and called by the name of a different city and that another city not be built and called "Jericho." (Ibid.)
(שם) בבכורו ייסדנה ובצעירו יציב דלתיה יכול שוגג תלמוד לומר (מ"א טז לד) כדבר ה' אשר דבר ביד יהושע בן נון אמור מעתה מזיד היה סליק פיסקא "With his first-born son shall he lay its foundations, and with his youngest shall he plant its gates." And thus is it written (I Kings 16:34) "In his (Achav's) days Chiel of Beth-el built Jericho. With his first-born son he laid its foundations, and with his youngest son he planted its gates." I might think that (Joshua swore thus) unintentionally; it is, therefore, written (Ibid.) "according to the word of the L-rd that He had spoken through Joshua the son of Nun."