Prior Warning of a criminal is a pre-requisite, no matter how great the judge is [in knowing the criminal's mind]: Rosh HaShanah 21b
Warning Procedure
Requiring a warning specific to the Type of Work violated on Shabbat: Shabbat 138a
The importance of the warning, in determining which people in attendance are legally defined as witnesses: Makkot 6a, 6b
A warning issued by the victim: Makkot 6b
A "warning" declared by the criminal himself: Makkot 6b
Whether an avowed enemy of the victim need be warned before a murder, in order to be liable for punishment: Makkot 6b, 9b
Whether a learned person need be warned: Makkot 6b, 9b
How to handle the warning, where it is unclear that the Transgression will Occur
As a General Issue: Pesachim 63b; Makkot 15b-16a
For Bringing a Pesach Offering while in possession of Leaven: Pesachim 63b
Examples: Pesachim 63b; Makkot 15b-16a; Temurah 3b
When an Incorrect Warning is Issued
What happens if a person is warned that he will deserve lashes, when he will really deserve divine excommunication: Makkot 13a-b
What happens if a person is warned that he will deserve lashes, when he will really deserve the death penalty: Makkot 13a-b