The incident took place at Cheggan Neura village in Minapur block of Bihar's Muzaffarpur district.
The officer in-charge of women's police station in Muzaffarpur, Ms Jyoti told PTI that the woman had submitted a written complaint on September 25 against her father-in-law and brother-in-law for turning a deaf ear to her constant pleas for a toilet.
Because of this hardship, she would come to her marital home only when her husband returned from his work place in Tamil Nadu.
She used to again shift to her father's house after he went back to his place of work.
On the basis of it, the police called the two accused to the police station on September 26, Ms Jyoti said.
The two relented before police and the father-in-law signed the bond that a toilet would be constructed at home soon.
"We asked them to do it in one week but they pleaded for some more time to arrange money. After the compromise was reached, the woman withdrew her complaint," Ms Jyoti added.
Get Breaking news, live coverage, and Latest News from India and around the world on NDTV.com. Catch all the Live TV action on NDTV 24x7 and NDTV India. Like us on Facebook or follow us on Twitter and Instagram for latest news and live news updates.