The process involved in retention of aberrant or improperly formed mRNAs, e.g. those that are incorrectly or incompletely spliced or that have incorrectly formed 3'-ends, within the nucleus at the site of transcription.