Reintering Spain with a almost expired tie

Hello,

I am from Egypt.. my TIE (student) will expire soon. Is it fine to go to Egypt and come back only 20 days before it expires?

Did any of you have the same experience?

* I am 31 years old, studying a "grado" that's why I am afraid the officer will stop me or something when I come back to Spain.


Thank you

If its still valid, they won't refuse you entry.