As I understand it, the proper term for this is "diabolus in musica" and refers to a diminished fifth interval (ie three full tones from the root), also known as the devil's tritone. This an unpleasant sounding interval and was indeed forbidden back in medieval times, or at least frowned upon. Hope this helps.