It's a commonly held superstition that a hat set on the bed invites bad luck to enter your home.