Hamas slams Egypt over arrest