Hamas does not give up its weapons to any foreign power and rejects outside interference in Palestinian affairs, a senior Hamas official says.