The Metaphysics of Morals by Immanuel Kant Chapter 3 Page 8

We have finally reduced the definite conception of morality to the idea of freedom. This latter, however, we could not prove to be actually a property of ourselves or of human nature; only we saw that it must be presupposed if we would conceive a being as rational and conscious of its causality in respect of its actions, i.e., as endowed with a will; and so we find that on just the same grounds we must ascribe to every being endowed with reason and will this attribute of determining itself to action under the idea of its freedom.

Now it resulted also from the presupposition of these ideas that we became aware of a law that the subjective principles of action, i.e., maxims, must always be so assumed that they can also hold as objective, that is, universal principles, and so serve as universal laws of our own dictation.