If you buy on a trading day (T) and don’t receive them by T+1 day, the shares will be credited to your by T+2 days. The exchange will conduct an auction that day and will deliver the shares to you on T+3 days. If the exchange does not receive the shares in the auction, the auction amount will be credited to you based on the auction close-out price.
For example, if you buy shares on Monday and do not receive them on Tuesday from the exchange, the exchange will conduct an auction on Tuesday and will deliver the shares to you on Wednesday.