It is narrated from Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) that he said: "O Messenger of Allah (peace and blessings be upon him)! What is the reward for fever?" He (peace and blessings be upon him) said: "Good deeds keep flowing for the one who has the fever as long as any foot of his trembles or any vein of his throbs." At this, Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him) made this supplication: "O Allah! I ask You for a fever that does not prevent me from going out in Your path, from going to Your House (the Ka'bah), or from attending the mosque of Your Prophet (peace and blessings be upon him)."
The narrator says that after this, whenever anyone touched Sayyiduna Ubayy bin Ka'b (may Allah be pleased with him), he would feel only fever (its heat) on him.