ankitsureka77
Hi, It has to be within the deadline.
I was told by adcoms at other programs anecdotally that your recommender could submit up until the end of the week of the deadline.
I have also had a recommender who submitted their recommendation within a week a deadline after the admissions team reached out to alert me of outstanding documents in my application. This recommender knew of the deadline though and the invite link was caught in his junk inbox.
You are likely to receive outreach from the team once your application is submitted noting your application is not going to be considered until that rec is in. I certainly don’t recommend testing this- and you should give ample time to a recommender (3+ weeks) ahead of the deadline.