Song Gaozong (r. 1127-62) was the ninth son of Huizong (r. 1100-26). While his mother, the Empress Wei, was pregnant, Huizong dreamed that the King of Wuyue Qian Chu came to call on him. On waking, he marvelled at this. It was the second year Daguan (1108 CE). At Gaozong’s birth, a red light filled the palace chamber. In the second year Xuanhe (1120), he was given the title Prince of Kang. At the turn of the Jingkang era (1126-27), the prince was often sent to the Jin as a hostage and spent time among their troops. When the Jin Crown Prince and the Prince of Kang traded bowshots, the latter hit all three volleys, smashing their arrowheads and leaving them hanging together in bundles. The Jin prince was terrified, believing that he was a deity, and thinking silently to himself: “The Song crown prince has grown up  deep within the palace, accustomed to wealth and station, so horse riding cannot be his strong point. Now, such expert archery must mean that the southern court have selected a skilled warrior from amongst their clan to take the prince’s place as a hostage; he must be an impostor. Keeping him is of no benefit; he should be returned. Exchanging him and having the true crown prince come as a hostage would be better.” In this way Gaozong won his release.
Changing his clothes he ran helter-skelter down a side road, and when the strength in his legs eventually gave way to exhaustion, he took a nap between the steps of the Cuifujun Temple. In his dream he heard a spirit telling him “The Jin have sent soldiers here; you must leave quickly.” The Prince of Kang looked all around, unsure what to do, and the spirit spoke again: “There is a horse prepared and waiting at the gate; leave quickly, great prince; you must not be caught.” The Prince of Kang awoke from his dream to find a horse already by his side. Leaping atop his mount, the prince galloped away to the south, covering seven hundred li in a single day. When he came to cross the (Yellow) River, his horse would not advance, and when he looked down he realised that it was made of mud. He then understood how the spirits had helped him. Seeking a crossing, he arrived, extremely hungry and thirsty, at a small village, and received food from a very old woman. She invited him inside, and then went back out in front of the house. Just then a number of mounted soldiers arrived in pursuit, and asked her: “There is an official, dressed like us; has he passed this way or not?” The elderly woman considered these words awhile, thinking about the manner of the man she’d just fed, and replied: “It has been several days since he passed through.” His pursuers beat their riding crops against their saddles, exclaiming: “Alas! Alas!” They then turned back, giving up the chase.
When the old woman went back to him, she said: “I see that the official is no vagabond; could it be that you are a person of the imperial palace? Just now some pursuit riders came asking questions, but I have hoodwinked them and they turned back.” The Prince of Kang replied: “I am fleeing to the south, and have arrived here famished and thirsty. I am indebted to you, but faced with these questions in truth I dare not answer, but wish to keep my secret.” The old woman said: “May the Great Prince please be at ease.” After a little while, she prepared a meal and brought it, also taking out several hundred liang of silver and presenting it to him, explaining: “My son was Li Rushui, and he died as their captive. I wish the great prince to devote this to the service of the realm.” The Prince of Kang was therefore able to flee to Xiangzhou and issue a proclamation recruiting troops to rescue the princes.
He then ascended the Flying Immortal Pavilion within the prefectural garden, took up bow and arrow and, looking at its inscribed board, prayed: “If I hit that tablet, I will ‘pay heed to news from the capital’” (i.e., play a role in governing the realm). He fired three times and did indeed hit three times, and those around him were deeply moved and congratulated one another. He also spoke to the commanding officer: “In the night I dreamed that an emperor removed his imperial robes and gave them to me. I removed my former robes and dressed myself in his gifts; what omen does this carry?” After a little while, the city gates were sealed as the official attendant Qin Zaiji had arrived with an imperial decree hidden within a wax medicine ball. This ordered him to serve as commander-in-chief, and to issue forth with an army. Just as the prince set out from Xiangzhou, an envoy galloped up to report that the Yellow River had not fully frozen over. The multitude all turned pale. The prince prayed to the spirits of heaven and earth and to the rivers. When they arrived at the Zihedu crossing, the river had become solid ice, so they went straight over. At that time, Huizong and Qinzong (r. 1125-27) had already departed on their ‘northern hunt’, and an imperial rescript from Huizong was presented, which read: “It would be better to ascend the throne than come to rescue your  father and mother.” Moreover, there was a decree from the Yuanyou Empress addressed to the Prince of Kang, which said, in outline: “Only when the House of Han had suffered ten generations of hardship did the prosperity of Guangwu arise; the lord having been presented with nine sons, only Chong’er (Duke Wen of Jin, 697–628 BCE) remained. This can only be heaven’s will; how could it possibly be by human design?” The Prince of Kang bowed and accepted this, ascending the throne in Nanjing.
Anon, Huhai xinwen yijian xuzhi, 前1.6-8 (Tale 8)
宋高宗，徽宗第九子也。母韋后在娠時，徽宗夜夢吳越王錢俶來謁，覺而異之，時大觀二年也。高宗生於宮中，紅光滿室。宣和二年，封康王。靖康之變，康王常質金人軍中，金國太子與康王同出射，連發三矢皆中，破其筈，纍纍懸於其上。金太子驚以為神，默計之曰：「宋太子生長  深宮，狃於富貴，鞍馬非其所長。今善射如此，意南朝揀選宗室中之長於武藝者冒名為質，必非真也。留之無益，不如遣還，換真太子來質乃善。」高宗由是得逸。遂易服間道奔竄，足力疲睏，乃假寐於崔府君廟階砌間，夢神人報曰：「金人追兵至，必速去之。」康王徬徨四顧，神曰：「已備馬門首伺侯矣，大王急行，毋為所及也。」康王驚夢，則馬已在其側矣。王踴躍上馬，疾馳而南，一日行七百里，渡河而馬不前，下視之，則泥馬也，始悟為神物之助。暨河渡，至一村莊，飢渴甚，謁飯於一老嫗。嫗延入莊內坐，復出莊前，則有數騎追至，問：「有一官人，狀貌若是，曾從此過否？」嫗思其言狀貌類謁飯者，乃答之：「已過數日矣。」追騎以鞭敲鞍曰：「可惜！可惜！」遂返而不追。嫗歸，語曰：「吾觀官人非客旅也，得非宮中人乎？適有追騎來問，吾已紿之而還矣。」康王曰：「吾奔逃至南，飢渴至此，既承見問，敢不實對，願密之。」嫗曰：「請大王安心。」少頃，辦飯進，因出銀數百兩以獻曰：「吾兒李若水也，已死於虜矣。國家大事，願大王勉之。」康王由此奔相州，揭榜召兵勤王。因登郡圃飛仙亭，視其牌額，持弓矢而祝曰：「若中此牌，則必聞京師音耗。」果三發三中，左右動色相賀。又語幕府曰： 「夜來夢皇帝脫所御袍賜吾，吾解舊衣而服（「服」原作「復」，據元刻本改。）所賜，此何祥也？」頃時京師闔門祗候秦仔齎蠟詔來，命為大元帥，速頒兵入衛。時王發兵相州，使臣馳報黃河未凍，衆失色，王禱天地河神。行至子河渡，而河冰凍已合，遂渡河。時徽宗、欽宗已北狩矣，有使臣曹勛自河北竄歸，進徽宗御札曰：「便可即真，來救  父母。」又奉元祐皇后手詔迎康王，其略曰：「漢家之厄十世，宜光武之中興；獻公之子九人，惟重耳之尚在。茲乃天意，夫豈人謀！」康王拜受，遂即位於南京。
Yuan Haowen 元好問, Chang Zhenguo 常振國 (ed), Xu Yijian zhi 續夷堅志 (Continued Records of the Listener), and Anon., Jin Xin 金心 (ed.) Huhai xinwen yijian xuzhi 湖海新聞夷堅續志 (Continuation of Records of the Listener with New Items from the Lakes and Seas) (Beijing: Zhonghua shuju, 1986)
 This is Qian Chu 錢俶 (929-88, r. 947-78, courtesy name Wende 文德, known as Qian Hongchu 錢弘俶 until 960), the last king of Wuyue, who surrendered his kingdom to the Song. See https://en.wikipedia.org/wiki/Qian_Chu.
 This seems to refer to the famous and unexpected ascendance of Duke Wen in 636 BCE after a period of turbulence. See https://en.wikipedia.org/wiki/Duke_Wen_of_Jin.