In this rule

Historical Rules · 5 October 2018

Rule 400.7c

Official source text from the 5 October 2018 Rules release

Permalink

An ability of a permanent can reference information about the spell that became that permanent, including what costs were paid to cast that spell or what mana was spent to pay those costs.

Find this number in the current Rules