Short answer
Within marriage, spouses can discuss temporary contraception and mutually agree on an appropriate method, subject to Islamic principles and medical considerations.
Islamic Guidance
What Islam teaches
Scholarly discussions of 'azl commonly consider the consent and rights of the spouses. Contemporary contraception should likewise be approached with mutual consideration rather than unilateral decisions.
Practical Guidance
What you can consider
Discuss the reason, duration and method together. Neither spouse should use contraception secretly when it materially affects shared decisions about having children.
Sources
Sahih Muslim, Book of Marriage.