《太平广记·卷一百五十一·定数六》
一天他忽然梦见一个穿紫衣服的人对他说： 你只能在礼部侍郎顾少连的主考下考试中榜。 
忽梦一人紫衣云： 当礼部侍郎顾少连下及第。 
One day, he suddenly dreamt of a man in purple clothes saying to him: You can only pass the imperial examination if the chief examiner is Assistant Minister of the Ministry of Rites Gu Shaolian.