#HalachaYomi OC 132:2 Don’t leave synagogue before Kadish of Uva Lezion. Ram”a (Ashkenazim): Can’t leave before end entire prayer service.