I did Hajj tamattu‘ for two years, but did not offer a sacrifice and did not fast ten days, because I was unaware of the ruling, and that was not deliberate. What must I do now?
Question

I found out that I should have offered a sacrifice when I did Hajj. I did Hajj tamattu‘ [‘umrah followed by Hajj, exiting ihram in between] for two years, but I did not offer a sacrifice and I did not fast for ten days, because I was unaware of the ruling, and that was not deliberate. What must I do now?
Praise be to Allah.Firstly:
It is obligatory for the one who is doing tamattu‘ to offer a sacrifice, subject to two conditions:

That he is not one of those who live in the area of al-Masjid al-Haram, namely the residents of the Haram zone.
That he can afford the price of the sacrificial animal, meaning that he has wealth that is surplus to his expenses and basic needs, and those of his family, with which to buy the sacrificial animal.

Allah, may He be exalted, says (interpretation of the meaning):
{then whoever performs ‘umrah [during the Hajj months] followed by Hajj [offers] what can be obtained with ease of sacrificial animals. And whoever cannot find [or afford such an animal] - then a fast of three days during Hajj and of seven when you have returned [home]. Those are ten complete [days]. This is for those whose family is not in the area of al-Masjid al-Haram} [al-Baqarah 2:196].
See also the answer to question no. 112003 .
Secondly:
If it is confirmed that offering the sacrifice was obligatory for you, it is not waived because of being unaware of the ruling or forgetting. Therefore you must seek Allah’s forgiveness for your shortcoming, and you must slaughter two sacrificial animals in Makkah and distribute the meat to the poor of the Haram, or appoint someone to do that on your behalf.
Shaykh ‘Abd al-‘Aziz ibn Baz (may Allah have mercy on him) was asked:
Someone intended to do Hajj qiran [‘umrah followed by Hajj without exiting ihram in between] but he did not offer a sacrifice, because he was unaware of the ruling. After a long time, he realised that he should have offered a sacrifice. What must he do?
He said: He must offer the sacrifice as soon as he realises, to be slaughtered in Makkah or Mina. There is nothing wrong with him and his family and friends eating from it. End quote from Majmu‘ Fatawa ash-Shaykh Ibn Baz (18/25).
Shaykh Muhammad ibn ‘Uthaymin (may Allah have mercy on him) was asked:
I did tamattu‘ [‘umrah followed by Hajj, exiting ihram in between], but I did not offer a sacrifice and I did not fast. What is the ruling?
He replied: Now you have to repent to Allah.
If you could afford a sacrificial animal in the year in which you did Hajj, then you must offer the sacrifice today, but it must be done in Makkah.
If you could not afford a sacrificial animal in the year in which you did Hajj, then you must fast ten days, so now fast ten days, even in your own city."(Majmu‘ Fatawa ash-Shaykh Ibn ‘Uthaymin 22/213).
And Allah knows best.