After you file

Does anyone know what the time limit is for the IRS to issue refunds legally? I'm curious if they have any laws regulating their timeline for releasing refunds or giving a reason/explanation.