Qatadah said that Sayyiduna Ali (may Allah be pleased with him) said: That slave is to be given forty lashes.