Sayyiduna Uqbah bin Rafi' (may Allah be pleased with him) reports this saying of the Prophet (peace and blessings be upon him): "When Allah Almighty loves a servant, He protects him from the world just as one of you protects his sick person from water so that he may be cured."
Abu Ya'la recorded it, and its chain is hasan (good).
Hadith Referenceمجمع الزوائد ومنبع الفوائد / كتاب الزهد / 18054