do not ask his recommendation. do not mention him in future as possible as you can.
write to his boss a fact report privately along with supported evidences that show what you had did and what his requirement you had obeyed if you can not feel peace because of being fired.
have this case be you experience and next time be wise to handle things.
Pray for you will meet a good boss.