Muslim federation lashes out at imam who advocated wife beating