I need to find some function $f:\mathbb{R} \rightarrow \mathbb{R}^+$ such that
If $\; \; x \sim \mathcal{N}(x; \mu, \sigma^2) \; \;$ then $\; \; f(x) \sim \mathcal{G}(y; \alpha, rate=\beta)$
Where $\mathcal{G}$ is the Gamma probability density function.
I think it will have to do with the derivation of the distribution function of $\sigma^2$ from a normal distribution, and $\alpha, \beta$ will have to be functions of $\mu, \sigma$. But I am having trouble from here.