It is narrated from Sayyiduna Rafi' bin Khadij (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: The earnings of the cupper are impure, the earnings of a prostitute are impure, and the price of a dog is impure.