Depends on the institution. Most inmates with short sentences are not allowed to marry. There are only a few states and federal that still allow inmates to marry. Why not wait until they get out, the ceremony will be much more memorable