In Tibetan schools the four seals are usually presented like this:
- Everything that is conditioned (or "composite") is impermanent.
- Everything that is stained (or "tainted") brings suffering.
- All phenomena are empty and devoid of a self (or "of independent entity").
- Nirvana or ("The Realization") is peace.
The first three look like paraphrases of the original Three Marks of Existence:
- anicca vata sankhara (all assemblies are transitory)
- sabbe sankhara dukkha (all assemblies are faulty / entail pain)
- sabbe dhamma anatta (all phenomena are no-self or "coreless")
And here is a commentary by H.H. Dalai Lama from "The Gelug/Kagyü Tradition of Mahamudra."
[For non-Mahayana Buddhists]
never separating the actions of their body, speech and mind from the behavior shaped by the vinaya rules of ethical discipline is karmamudra, the seal of their behavior.
The realization of the lack of any true, unimputed identity of a person, specifically the total absence or voidness of a person existing as a substantial entity able to stand on its own – the coarse identitylessness of a person according to the prasangika-madhyamaka presentation – is dharmamudra, the seal of their preventive measures.
The state of separation from disturbing emotions and attitudes, on the basis of the abiding nature of purity, attained through meditation on the identitylessness of a person is samayamudra, the seal of their close bond.
The nirvana or total release that they attain without any remainder of aggregates is mahamudra, their great seal.
[For Mahayana Buddhists having taken the vow of Bodhisattva]
never separating the actions of their body, speech and mind from behavior based on practice of the six far-reaching attitudes is the seal of their behavior.
Based on their practice of the six far-reaching attitudes in general, and particularly of the joint path of shamatha yoked with vipashyana, their meditation on voidness, free from all mental fabrication and fabricating, seeing that all phenomena appear but without true, inherent existence, like illusion, is the seal of their preventive measures.
Through the ethical self-discipline of a bodhisattva, restraining themselves from all selfish thought or action so that they are never tainted by any stain of working for their own purposes is the seal of their close bond.
Having followed a path that has had as its essence the combination
of compassion and the understanding of voidness, on which they have
practiced method and discriminating awareness without one having
ever been missing, but rather with method always apprehended within
the context of wisdom and wisdom within the context of method, their
single taste of compassion and voidness is their great seal. At that point, their ultimate combined vision of both the full extent of what exists and how it all exists, being of a single taste of compassion and wisdom, totally pacifies the extreme of remaining passively in a nirvanic state of total release from all suffering.
I do not know the original/earliest source of these.