סימן קעט סעיף יא
אָסוּר לְהַשְׁהוֹת שְׁטָר פָּרוּעַ בְּתוֹךְ בֵּיתוֹ, שֶׁנֶּאֱמַר, וְאַל תַּשְׁכֵּן בְּאֹהָלֶיךָ עַוְלָה.
It is forbidden to keep a paid note in your possession, for it is said,18Job 11:14. "Do not let unrighteousness dwell in your tents."19If it is partially repaid, Shulchan Aruch 57:1 says you must write a receipt for the amount paid. Shach 57:6 argues that even if you do not write a receipt for that part, you may keep the document until it is fully paid.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)