In our environment we kept all database files to restricted growth. So what happened is the index size became 58 GB and the free space [UNUSED] was below 40 GB that is why we got this error.
It was working fine till last month rebuild.
Hence we came out with a solution to set both the data files to set Auto grow.