The US constitution says the president has the power to pardon offences "except in cases of impeachment". Some argue that means he cant pardon the people involved in the riot, but I think thats a very hard sell. The constitution isnt clear at all, it could just mean that he cant pardon supreme court justices or vice presidents to avoid them being impeached.