I have a folder in which there are directories
cd $(/bin/ls -t1 | head -n 1)
This will list only directories and filter out any folder that does not start with ABC_:
cd "$(ls -t1 -d */ |grep "^ABC_" |head -n1)"
You actually do not need grep
cd "$(ls -t1 -d ABC_*/ | head -n1)"