Then sang Moses and the children of Israel this song unto the LORD, and spake, saying, I will sing unto the LORD, for he hath triumphed gloriously: the horse and his rider hath he thrown into the sea. Exodus 15:1
Having received such a charge, he put them into the inner prison and fastened their feet in the stocks. But at midnight Paul and Silas were praying and singing hymns to God, and the prisoners were listening to them. Acts 16:24-25