2 occurrences across the corpus

The Babylonian Talmud

Babylonian Talmud Ta'anit 1:8

6. If these fast days are over and the community's prayer has not been answered, the court orders three more fasts for the community. On the days preceding these fasts one may eat and drink until sunset only, and on the fast days proper, work, bathing, anointing oneself, wearing shoes, and cohabitation are forbidden. The bath-houses must be closed. If these fast days, too, are over and the community has not been answered, the court orders seven additional fasts for the community, making in all thirteen fasts. In what respect are these (seven) fasts more rigorous than the (three) immediately preceding ones? In that on these the alarm must be sounded and the shops must be closed. On the fasts falling on a Monday, the doors of the shops may be slightly opened toward nightfall, while on Thursdays they may be kept open all day for the sake of the approaching Sabbath.

Babylonian Talmud Ta'anit 1:191

If these fast-days are over and the community's prayer has not been answered, etc., work, etc., are forbidden.