Using RRSP funds for a down payment:
You can use up to $25,000 of your RRSP savings towards a down payment on a home tax-free, as long as it is not a lock-in RRSP. You need to buy or build a house by October 1 of the year following withdrawing the funds. You need to begin repayment within 2 years and complete repayment in 15 years, paying back 1/15th per year.You cannot use RRSP funds to buy an investment or rental property – it needs to be your primary residence.
For further details see the Service Canada website: