A sorcerer cohort can't cast wall of stone until -you- reach 12th level and he makes 10th.
The best way I can think of to establish a temple, if the DM is willing to facilitate, is the old-fashioned way. Raise revenue from business ventures (not necessarily adventures) and get your followers to contribute to the funding and construction. Doing it magically is completely unnecessary.