Abd al-Rahman bin Abi Layla (may Allah have mercy on him) narrates that his father (Sayyiduna Abu Layla, may Allah be pleased with him) used to converse at night with Sayyiduna Ali (may Allah be pleased with him), and Sayyiduna Ali (may Allah be pleased with him) used to wear summer clothes in winter and winter clothes in summer. It was said to me: "Why don't you ask him about this!" So I asked him, and he said: "The Messenger of Allah (peace and blessings be upon him) sent for me on the day of Khaybar while I was suffering from sore eyes. I said: O Messenger of Allah, my eyes are sore. So he (peace and blessings be upon him) applied his saliva to my eyes and made this supplication: 'O Allah, remove from him (the discomfort of) heat and cold.' Since then I have never felt heat or cold."
He further said: And he (peace and blessings be upon him) said (on that occasion): "I will certainly send (with the banner) a man whom Allah and His Messenger love and who loves Allah and His Messenger; he is not one who turns his back and flees." The narrator said: So the people raised their heads in eager hope of attaining this (great honour); then he (peace and blessings be upon him) sent Sayyiduna Ali (may Allah be pleased with him) (with the banner).
(The muhaddith says:) Ibn Abi Layla here is Muhammad bin Abd al-Rahman al-Qadi; his memory was weak, but this hadith has a supporting narration (shahid) in the "Two Sahihs" from the hadith of Sayyiduna Salamah bin al-Akwa' (may Allah be pleased with him), which mentions the Prophet (peace and blessings be upon him) applying his saliva to the eye of Sayyiduna Ali (may Allah be pleased with him) on the day of Khaybar.
Imam al-Daraqutni (may Allah have mercy on him) was asked about it, and he said: "Ali bin Hashim narrated it with a connected chain, and in it Ibn Abi Layla narrates from his father, and he from Sayyiduna Ali (may Allah be pleased with him). Ubaydullah bin Musa also corroborated him, narrating it from Ibn Abi Layla; so in these two narrations it is the narration of Sayyiduna Abu Layla (may Allah be pleased with him) from Sayyiduna Ali (may Allah be pleased with him). While in the narration of others besides these two, it is narrated by Abd al-Rahman (bin Abi Layla) from his father (Sayyiduna Abu Layla, may Allah be pleased with him), and he from Sayyiduna Ali (may Allah be pleased with him)."
And in our narration, (the narrator says:) I do not know whether the one who asked Sayyiduna Ali (may Allah be pleased with him) was Abu Layla (may Allah be pleased with him) himself or his son Abd al-Rahman (may Allah have mercy on him).