I believe the show was Night Gallery, "The Earwig". It was the owner of a nice house who hired one of the locals to place the earwig next to his guest while he was sleeping in bed, whom he suspected of having designs on his much younger, beautiful wife. At least that is what memory tells me.