《太平广记·卷三百一十二·神二十》
将来你别忘了我就行。姚苌回到秦地，果然在长安称了帝。称帝后姚苌派人到四川寻访张恶子，没有找到，就在遇见张恶子的地方立了一座庙，这就是现在的张相公庙。
因命使至蜀，求之弗获，遂立庙于所见之处，今张相公庙是也。
“In the future, don’t forget me.” Yao Chang returned to Qin, and as expected, he became emperor in Chang'an. After becoming emperor, Yao Chang sent someone to Sichuan to find Zhang Ezi, but he was nowhere to be found, so he built a temple in the place where he had met Zhang Ezi, which is the current Zhang Xianggong Temple.