סימן קלד סעיף ט
יוֹצְאִין בְּסֻכָּה שְׁאוּלָה, אֲבָל לֹא בְסֻכָּה גְזוּלָה. וְלָכֵן אָסוּר לַעֲשׂוֹת סֻכָּה בִּרְשׁוּת הָרַבִּים. וּבִשְׁעַת הַדְּחָק שֶאֵין לוֹ סֻכָּה אַחֶרֶת בְּשׁוּם אֹפֶן, יוֹשֵׁב בָּהּ וּמְבָרֵךְ עָלֶיהָ.
You may fulfill your obligation with a borrowed sukkah, but not with a sukkah that was stolen. It is forbidden, therefore, to build a sukkah in a public domain. In extreme situations when there is no other sukkah available under any circumstance you may sit in it and say the berachah in it.
תנא דבי אליהו כל השונה הלכות בכל יום מובטח לו שהוא בן העולם הבא שנאמר הליכות עולם לו אל תקרי הליכות אלא הלכות (נדה ע"ג.)