In a ḥadīth qudsī the Prophet relates words spoken by God. The best loved by Sufis is the hadith of nearness, in which God says that when he loves a servant, he becomes the hearing with which he hears and the sight with which he sees.
Ḥadīth qudsī
A sacred hadith: words of God reported by the Prophet but not part of the Qurʾān.
Also: hadith qudsi