"From a thread to a shoelace" (Genesis 14:23). The Holy One, blessed be He, said to him: "You said 'from a thread' — by your life, I will give to your children the commandment of the fringe [tzitzit], as you say, 'upon the fringe of the corner a cord of blue' (Numbers 15:38), which we translate [in the Aramaic] as 'a thread of blue.' You said 'a shoelace' — by your life, I will give to your children the commandment of the levirate widow [yibbum], as you say, 'and she shall draw off his shoe [in the chalitzah rite]' (Deuteronomy 25:9)."
Yalkut Shimoni on Torah 76:1
Yalkut Shimoni on Torah 76:1
(בראשית יד כג) אִם מִחוּט וְעַד שְׂרוֹךְ נַעַל. אָמַר לֵיהּ הַקָּדוֹשׁ בָּרוּךְ הוּא, אַתָּה אָמַרְתָּ אִם מִחוּט חַיֶּיךָ שֶׁאֲנִי נוֹתֵן לְבָנֶיךָ מִצְוַת צִיצִית, כְּמָה דְּאַתְּ אָמַר (במדבר טו, לה) "עַל צִיצִת הַכָּנָף פְּתִיל תְּכֵלֶת". וּמְתַרְגְּמִינָן חוּטָא דִּתְכֶלְתָּא. אַתָּה אָמַרְתָּ נַעַל, חַיֶּיךָ שֶׁאֲנִי נוֹתֵן לְבָנֶיךָ מִצְוַת יְבָמָה, כְּמָה דְּאַתְּ אָמַר "וְחָלְצָה נַעֲלוֹ".