Research "Ex parte Garland"
A case dating all the way back to President Johnson.
He issued a blanket pardon Augustus Garland for all offenses related to his participation in the rebellion, and the supreme court ruled that pardons can be issued at any point by a president after the commission of a crime, regardless of whether or not they have been formally charged with the crime or not.
Here's one to ponder:
If a President issues a pardon, can a President revoke a pardon?