A spell leaves a trace or residue that can be detected by magic. See HoHTL 71 and ArM5 158.
See also Sigil and Residue.