Berachos2: 4
הָאֻמָּנִין קוֹרִין בְּרֹאשׁ הָאִילָן אוֹ בְרֹאשׁ הַנִּדְבָּךְ, מַה שֶּׁאֵינָן רַשָּׁאִין לַעֲשׂוֹת כֵּן בַּתְּפִלָּה.
Workers may recite [the Shema] on top of a tree or on top of a wall, which they are not permitted to do with regard to prayer.