You should find many such apps, if you search with keyword Urgency or scarcity. Now a days some of the themes include this as a feature too. Most of the time it only displays a random number.
If you really want to show actual sale in 24 hours or so you would need to create a custom call to Shopify API to get this data or find an app that uses real data. Hope this helps