Acts 4:18-20 Then they called them in again and commanded them not to speak or teach at all in the name of Jesus. But Peter and John replied, “Judge for yourselves whether it is right in God’s sight to obey you rather than God. For we cannot help speaking about what we have seen and heard.”
Acts 5:29 Peter and the other apostles replied: “We must obey God rather than men!”
When authority attempts to silence us, we are shown by the example of Peter and John that all we are expected to do is bear witness to what Christ has done in our lives. While we are to be obedient to our leadership, this does not mean at the expense of our own faith and salvation.