Someone shuts off the lights in a wedding saloon and runs off. If their intention was to be punished through being caught, the full punishment can only be justly served when all those affected have been repaid. For example:
As a result of the darkness, glassware broke. Two people fell down the stairs… a few heads collided with walls or pillars, the cakes fell on to the floor. Some children were scared and were crying from the darkness, and for the sake of evacuating the saloon, much time was lost. Meanwhile, the families of the bride and groom suffer loss and embarrassment.
Yes, all of those events that resulted from the lights being turned off need to be accounted for and punishment duly sentenced to the perpetrator.
The Qur’an states:
نَكْتُبُ مَا قَدَّمُوا وَآثَارَهُمْ
“What is written is the action itself and the effects that action leaves behind.”1
We read in the narrations
من سنّ سنّة حسنة عمل بها من بعده كان له أجره ومثل أجورهم من غير أن ينقص من أجورهم شيئا، ومن سنّ سنّة سيئة فعمل بها بعده كان عليه وزره ومثل أوزارهم من غير أن ينقص من أوزارهم شيئا
“The Prophet SAWA states that whoever establishes a good action, the reward will go back to him from whoever that conducts that action and whoever establishes a bad action, the punishment will go back to the establisher from any one that does the bad action.”2
Someone who causes the addiction of another person to a substance or to smoking, and the second person causes a third to do the same, and then a fourth as a result of the third… the first person is a partner in the sins of all the people that follow.
Narrations state that parents are partners in all the good deeds of their children and the teacher of the students first class is a partner in the reward of all knowledge gained in future courses.