against the clock

”against time/the clock”
an attempt to do something when there is little time to do it; a rush to beat a deadline
عجله برای انجام کاری

Example 1: You don’t need to race against time; Take all the time you want.
Example 2: In a race against the clock, they rushed the accident victim to the hospital.