I found a mention, or course it is in Leviticus. This is from the YPA book. Not a place I had previously thought of looking.
Leviticus 5:1 . “‘Now in case a soul + sins in that he has heard public cursing *+ and he is a witness or he has seen it or has come to know of it, if he does not report + it, then he must answer for his error.