סימן קיב סעיף א
כָּל דָּבָר שֶׁיֵּשׁ בּוֹ תַּעֲרֹבֶת חָמֵץ, וַאֲפִלּוּ אֵין בּוֹ חָמֵץ בָּעַיִן, רַק הַטַּעַם מֵחָמֵץ, כְּגוֹן שֶׁהֵסִירוּ אֶת הֶחָמֵץ, מִכָּל מָקוֹם אָסוּר לְהַשְׁהוֹתוֹ בַּפֶּסַח. אֲבָל דָּבָר שֶׁלֹּא הָיָה בּוֹ חָמֵץ כְּלָל, אֶלָּא שֶׁנִּתְבַּשֵּׁל בִּכְלֵי חָמֵץ, אֲפִלוּ הָיָה הַכְּלִי בֶּן יוֹמוֹ, אוֹ שֶׁנִּכְבַּשׁ בִּכְלִי חָמֵץ, מֻתָּר לְהַשְׁהוֹתוֹ בַּפֶּסַח. וְדַוְקָא שֶׁנִּתְבַּשֵּׁל אוֹ נִכְבַּשׁ קֹדֶם הַפֶּסַח, אֲבָל אִם נִתְבַּשֵּׁל אוֹ נִכְבַּשׁ בַּפֶסַח בִּכְלִי חָמֵץ, חַיָּבִין לְבַעֲרוֹ.
Any food that contains a mixture of chametz even if the chametz is not actually present, but only the taste of the chametz remained after the chametz itself was removed, is forbidden to be kept during Pesach. However, if the food never contained chametz but was cooked in a vessel used for chametz, even if chametz was cooked in the vessel that day, or if an item was pickled in a vessel used for chametz, you are permitted to keep it during Pesach,1This is permitted only if it is removed from the chametz vessel and put into a Pesach vessel. You should take care to put the food in a place where you or others do not usually go, in order to prevent anyone from eating the food on Pesach. (Mishnah Berurah 442:1) provided it was cooked or pickled before Pesach; but if the cooking or pickling was done on Pesach in a vessel used for chametz, the food item must be burned.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)