Torah Temimah cites Bava Kamma 56a.
One who knows testimony for his fellow and does not testify for him… it is biblical — “if he does not tell, he shall bear his iniquity.”
The Gemara invokes the verse to establish that withholding known testimony that would benefit another is itself a Torah-level wrong, independent of the formal shevu’ah-korban structure.