Hadith 2394
Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: The Noble Prophet (peace and blessings be upon him) said: "Hudud (prescribed punishments) should not be carried out inside the mosque, nor should a father be punished in retaliation for his son."