In many ahadith, the idiom "ثكلتك أمك" ("May your mother lose you") is found; I have also seen similar constructs with different wording (e.g. "ثكلتك الثواكل"). From context, this appears to be used as an admonition.
What exactly does this idiom mean, and how is it intended to be used? Any details on how it originated would also be useful, especially if it's Islamically-based.