סימן קיא סעיף יג
וְאִם עוֹשֶׂה אֶת הָאוֹצָר עַל דַּעַת שֶׁלֹּא לְפַנּוֹתוֹ עַד לְאַחַר הַפֶּסַח, אֲזַי יֵשׁ חִלּוּק בַּזְּמָן. אִם הוּא קֹדֶם שְׁלֹשִׁים יוֹם שֶׁלִּפְנֵי הַפֶּסַח, אֵינוֹ צָרִיךְ לְבָדְקוֹ (אֶלָּא שֶׁאִם יֵשׁ שָׁם חָמֵץ יָדוּעַ, יְבַעֲרֶנּוּ תְּחִלָּה) וְיוֹעִיל לוֹ הַבִּטּוּל, שֶׁיְבַטֵּל כָּל חָמֵץ בִּזְמַנּוֹ. אֲבָל אִם הוּא תּוֹךְ שְׁלֹשִׁים יוֹם שֶׁלִּפְנֵי הַפֶּסַח, חַל עָלָיו חִיּוּב בְּדִיקָה, (כֵּיוָן שֶׁשּׁוֹאֲלִין וְדוֹרְשִׁין בְּהִלְכוֹת פֶּסַח קֹדֶם לַפֶּסַח שְׁלֹשִׁים יוֹם) וְצָרִיךְ לְבָדְקוֹ. וַאֲפִלּוּ בְּדִיעֲבַד אִם שָׁכַח וְלֹא בְדָקוֹ, צָרִיךְ לְפַנּוֹת אֶת הָאוֹצָר וּלְבָדְקוֹ בַלַּיְלָה תֵּכֶף לְאַחַר שֶׁנִּזְכָּר.
If you fill up a storage room with the intention of not emptying it until after Pesach, then it depends on the time you fill it up. If you do it more than thirty days before Pesach, you need not search the room. However if there is any chametz you know of, you must first remove it. The declaration of nullification will then effectively nullify all your chametz at the proper time (erev Pesach). However, if it is within thirty days before Pesach, you are subject to the laws of searching for chametz (because we ask questions and explain the laws of Pesach thirty days before Pesach), thus you must search the room. Even if, inadvertently, you forgot to make the search, you must empty the storeroom, and make the search in the night, immediately after you become aware of your oversight.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)