It is narrated from Hazrat Ubadah (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: Whoever fights in the way of Allah, but his intention in this jihad is to obtain a rope, then he will get only that for which he intended.